- fix c++11's compile problems.
This commit is contained in:
parent
4d3f6cae2e
commit
737708b635
7 changed files with 10 additions and 10 deletions
|
|
@ -44,7 +44,7 @@
|
|||
#include "i_system.h"
|
||||
#include "gl/system/gl_cvars.h"
|
||||
|
||||
#if defined (unix) || defined (__APPLE__)
|
||||
#if defined (__unix__) || defined (__APPLE__)
|
||||
#include <SDL.h>
|
||||
#define wglGetProcAddress(x) (*SDL_GL_GetProcAddress)(x)
|
||||
#endif
|
||||
|
|
@ -210,7 +210,7 @@ void gl_LoadExtensions()
|
|||
// Don't even start if it's lower than 1.4
|
||||
if (strcmp(version, "1.4") < 0)
|
||||
{
|
||||
I_FatalError("Unsupported OpenGL version.\nAt least GL 1.4 is required to run "GAMENAME".\n");
|
||||
I_FatalError("Unsupported OpenGL version.\nAt least GL 1.4 is required to run " GAMENAME ".\n");
|
||||
}
|
||||
|
||||
// This loads any function pointers and flags that require a vaild render context to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue