Changed rendering order of cached & noncached layers.

This commit is contained in:
Maciej Suminski 2013-07-22 13:14:53 +02:00
parent 5242fff9d7
commit a8f4791395
1 changed files with 1 additions and 1 deletions

View File

@ -425,8 +425,8 @@ void OPENGL_GAL::blitMainTexture( bool aIsClearFrameBuffer )
void OPENGL_GAL::EndDrawing() void OPENGL_GAL::EndDrawing()
{ {
cachedManager.EndDrawing();
nonCachedManager.EndDrawing(); nonCachedManager.EndDrawing();
cachedManager.EndDrawing();
// Draw the remaining contents, blit the main texture to the screen, swap the buffers // Draw the remaining contents, blit the main texture to the screen, swap the buffers
glFlush(); glFlush();