Skip to content
Permalink
Browse files

Use GL direct updates when possible

  • Loading branch information
slouken committed Jul 7, 2007
1 parent 64ad54a commit 28a91c7110a7efaf33ee31785e851831b1d0eb26
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/video/bwindow/SDL_BWin.h
@@ -113,6 +113,7 @@ class SDL_BWin : public BDirectWindow
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 ) {

0 comments on commit 28a91c7

Please sign in to comment.