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:
hrydgard
2008-08-13 00:00:39 +00:00
parent e4e1fda2e4
commit 7b357c84df
3 changed files with 22 additions and 21 deletions

View File

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