Use GL direct updates when possible
--HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402434
This commit is contained in:
parent
1ed61fec32
commit
69a0d935d9
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue