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
|
@ -921,7 +921,8 @@ void SdlGraphicsManager::internUpdateScreen() {
|
|||
ScalerProc *scalerProc;
|
||||
int scale1;
|
||||
|
||||
#if defined (DEBUG) && ! defined(_WIN32_WCE) // definitions not available for non-DEBUG here. (needed this to compile in SYMBIAN32 & linux?)
|
||||
// definitions not available for non-DEBUG here. (needed this to compile in SYMBIAN32 & linux?)
|
||||
#if defined (DEBUG) && !defined(WIN32) && !defined(_WIN32_WCE)
|
||||
assert(_hwscreen != NULL);
|
||||
assert(_hwscreen->map->sw_data != NULL);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue