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
This commit is contained in:
Sam Lantinga 2007-07-07 19:22:27 +00:00
parent 1ed61fec32
commit 69a0d935d9

View file

@ -113,6 +113,7 @@ public:
SDL_GLView = new BGLView(Bounds(), "SDL GLView",
B_FOLLOW_ALL_SIDES, (B_WILL_DRAW|B_FRAME_EVENTS),
gl_flags);
SDL_GLView->EnableDirectMode(true);
}
if ( the_view != SDL_GLView ) {
if ( the_view ) {