* Tidy-up of q_platform.h
* Introduced Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN #defines * Changed some stricmp to Q_stricmp so that #define stricmp strcasecmp could be removed
This commit is contained in:
1 parent
64cfdedf09
commit
4eaebe4a31
6 files changed
+103
-183
No files matched your search
@@ -1582,7 +1582,7 @@ void GLimp_Init( void )
|
||||
void GLimp_EndFrame (void)
|
||||
{
|
||||
// don't flip if drawing to front buffer
|
||||
if ( stricmp( r_drawBuffer->string, "GL_FRONT" ) != 0 )
|
||||
if ( Q_stricmp( r_drawBuffer->string, "GL_FRONT" ) != 0 )
|
||||
{
|
||||
qglXSwapBuffers(dpy, win);
|
||||
}
|
||||
|
||||
@@ -995,7 +995,7 @@ void GLimp_Init( void )
|
||||
void GLimp_EndFrame (void)
|
||||
{
|
||||
// don't flip if drawing to front buffer
|
||||
if ( stricmp( r_drawBuffer->string, "GL_FRONT" ) != 0 )
|
||||
if ( Q_stricmp( r_drawBuffer->string, "GL_FRONT" ) != 0 )
|
||||
{
|
||||
SDL_GL_SwapBuffers();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user