diff --git a/src/common/rendering/gl_load/gl_load.c b/src/common/rendering/gl_load/gl_load.c index 14aba7a702..f50830528b 100644 --- a/src/common/rendering/gl_load/gl_load.c +++ b/src/common/rendering/gl_load/gl_load.c @@ -46,6 +46,7 @@ static void* PosixGetProcAddress (const GLubyte* name) #undef APIENTRY #endif #include +#include #ifdef _MSC_VER @@ -76,7 +77,7 @@ static void CheckOpenGL(void) { if (opengl32dll == 0) { - opengl32dll = LoadLibrary(L"OpenGL32.DLL"); + opengl32dll = LoadLibrary(_T("OpenGL32.DLL")); if (opengl32dll != 0) { createcontext = (HGLRC(WINAPI*)(HDC)) GetProcAddress(opengl32dll, "wglCreateContext");