Use GL direct updates when possible

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga 2007-07-07 19:22:27 +00:00
parent a272a39184
commit 902eba96d6

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 ) {