Mercurial > sdl-ios-xcode
changeset 4013:5804139bdf0b SDL-1.2
Use GL direct updates when possible
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 07 Jul 2007 19:22:27 +0000 |
parents | 4e29535b821b |
children | a6264945ac52 |
files | src/video/bwindow/SDL_BWin.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 ) {