Align some vertex arrays to page size. It's said to possibly be beneficial.
This commit is contained in:
parent
630c025fd5
commit
366583d34f
5 changed files with 41 additions and 39 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue