From 69a0d935d9ca383d02ad79efe32f3605b1ee9daa Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 7 Jul 2007 19:22:27 +0000 Subject: [PATCH] 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 --- src/video/bwindow/SDL_BWin.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/bwindow/SDL_BWin.h b/src/video/bwindow/SDL_BWin.h index 9bfa9d4df..952d5a248 100644 --- a/src/video/bwindow/SDL_BWin.h +++ b/src/video/bwindow/SDL_BWin.h @@ -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 ) {