Replaced some assert macros with SDL_assert.
This commit is contained in:
parent
067b1ec8a2
commit
df8784cd61
7 changed files with 31 additions and 33 deletions
|
@ -311,7 +311,7 @@ X11_GL_GetAttributes(_THIS, Display * display, int screen, int * attribs, int si
|
|||
int i = 0;
|
||||
|
||||
/* assert buffer is large enough to hold all SDL attributes. */
|
||||
/* assert(size >= 32);*/
|
||||
SDL_assert(size >= 32);
|
||||
|
||||
/* Setup our GLX attributes according to the gl_config. */
|
||||
attribs[i++] = GLX_RGBA;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue