mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-23 18:03:31 -05:00
win32 build fix - no #elifdef on MSVC
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@186 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@@ -115,7 +115,8 @@ bool Renderer::Create2()
|
||||
wglSwapIntervalEXT(0);
|
||||
else
|
||||
ERROR_LOG("no support for SwapInterval (framerate clamped to monitor refresh rate)\n");
|
||||
#elifdef __linux__
|
||||
#else
|
||||
#ifdef __linux__
|
||||
if (glXSwapIntervalSGI)
|
||||
glXSwapIntervalSGI(0);
|
||||
else
|
||||
@@ -125,7 +126,7 @@ bool Renderer::Create2()
|
||||
//TODO
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
// check the max texture width and height
|
||||
glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint *)&g_MaxTexWidth);
|
||||
g_MaxTexHeight = g_MaxTexWidth;
|
||||
|
||||
Reference in New Issue
Block a user