Commit 69a0d935 authored by Sam Lantinga's avatar Sam Lantinga

Use GL direct updates when possible

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402434
parent 1ed61fec
...@@ -113,6 +113,7 @@ public: ...@@ -113,6 +113,7 @@ public:
SDL_GLView = new BGLView(Bounds(), "SDL GLView", SDL_GLView = new BGLView(Bounds(), "SDL GLView",
B_FOLLOW_ALL_SIDES, (B_WILL_DRAW|B_FRAME_EVENTS), B_FOLLOW_ALL_SIDES, (B_WILL_DRAW|B_FRAME_EVENTS),
gl_flags); gl_flags);
SDL_GLView->EnableDirectMode(true);
} }
if ( the_view != SDL_GLView ) { if ( the_view != SDL_GLView ) {
if ( the_view ) { if ( the_view ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment