Use GL direct updates when possible SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sat, 07 Jul 2007 19:22:27 +0000
branchSDL-1.2
changeset 4013 5804139bdf0b
parent 4012 4e29535b821b
child 4014 a6264945ac52
Use GL direct updates when possible
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 ) {