mirror of
https://github.com/yawut/SDL.git
synced 2026-05-05 20:57:28 -05:00
Use GL direct updates when possible
--HG-- branch : SDL-1.2
This commit is contained in:
parent
a272a39184
commit
902eba96d6
|
|
@ -113,6 +113,7 @@ public:
|
|||
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 ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user