Browse Source

retained backing disabled bu default!

dmuratshin 8 years ago
parent
commit
5377dd0f9a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      oxygine/src/core/oxygine.cpp

+ 2 - 0
oxygine/src/core/oxygine.cpp

@@ -347,6 +347,8 @@ namespace oxygine
             //SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1);
             SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2);
             SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);
+            
+            SDL_GL_SetAttribute(SDL_GL_RETAINED_BACKING, 0);
 
             if (desc.force_gles)
             {