Align some vertex arrays to page size. It's said to possibly be beneficial.

This commit is contained in:
Henrik Rydgard 2013-01-29 00:48:13 +01:00
parent 630c025fd5
commit 366583d34f
5 changed files with 41 additions and 39 deletions

View file

@ -163,13 +163,11 @@ const int flushBeforeCommandList[] = {
*/
};
GLES_GPU::GLES_GPU(int renderWidth, int renderHeight)
GLES_GPU::GLES_GPU()
: interruptsEnabled_(true),
displayFramebufPtr_(0),
prevDisplayFramebuf_(0),
prevPrevDisplayFramebuf_(0),
renderWidth_(renderWidth),
renderHeight_(renderHeight),
resized_(false)
{
shaderManager_ = new ShaderManager();