Fixed doing OpenGL calls before a graphical context was created.
svn-id: r50905
This commit is contained in:
parent
d677ba5a11
commit
9ef2fc4744
6 changed files with 31 additions and 42 deletions
|
@ -107,7 +107,6 @@ void OSystem_SDL::initBackend() {
|
|||
}
|
||||
}*/
|
||||
_graphicsManager = new OpenGLSdlGraphicsManager();
|
||||
((OpenGLSdlGraphicsManager *)_graphicsManager)->init();
|
||||
#endif
|
||||
if (_graphicsManager == 0)
|
||||
_graphicsManager = new SdlGraphicsManager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue