# HG changeset patch # User Sam Lantinga # Date 1183836147 0 # Node ID 5804139bdf0bf45f42a20d95fe221c1c41357853 # Parent 4e29535b821b44950d3e29c4681d8c225dc7d09d Use GL direct updates when possible diff -r 4e29535b821b -r 5804139bdf0b src/video/bwindow/SDL_BWin.h --- a/src/video/bwindow/SDL_BWin.h Sat Jul 07 19:20:28 2007 +0000 +++ b/src/video/bwindow/SDL_BWin.h Sat Jul 07 19:22:27 2007 +0000 @@ -113,6 +113,7 @@ 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 ) {