Replaced some assert macros with SDL_assert.

This commit is contained in:
Ryan C. Gordon 2012-02-07 02:11:15 -05:00
parent 067b1ec8a2
commit df8784cd61
7 changed files with 31 additions and 33 deletions

View file

@ -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;