Use GL direct updates when possible SDL-1.2
authorSam Lantinga
Sat, 07 Jul 2007 19:22:27 +0000
branchSDL-1.2
changeset 40135804139bdf0b
parent 4012 4e29535b821b
child 4014 a6264945ac52
Use GL direct updates when possible
src/video/bwindow/SDL_BWin.h
     1.1 --- a/src/video/bwindow/SDL_BWin.h	Sat Jul 07 19:20:28 2007 +0000
     1.2 +++ b/src/video/bwindow/SDL_BWin.h	Sat Jul 07 19:22:27 2007 +0000
     1.3 @@ -113,6 +113,7 @@
     1.4  				SDL_GLView = new BGLView(Bounds(), "SDL GLView",
     1.5  					 	B_FOLLOW_ALL_SIDES, (B_WILL_DRAW|B_FRAME_EVENTS),
     1.6  					 	gl_flags);
     1.7 +				SDL_GLView->EnableDirectMode(true);
     1.8  			}
     1.9  			if ( the_view != SDL_GLView ) {
    1.10  				if ( the_view ) {