diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index ba7bb20318..de39385070 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -466,7 +466,7 @@ void Renderer::ReinitView(int nNewWidth, int nNewHeight) int oldscreen = s_bFullscreen; OpenGL_Shutdown(); - int oldwidth = (int)OpenGL_GetWidth, + int oldwidth = (int)OpenGL_GetWidth(), oldheight = (int)OpenGL_GetHeight(); if (!OpenGL_Create(g_VideoInitialize, nNewWidth, nNewHeight)) {//nNewWidth&~7, nNewHeight&~7) ) { ERROR_LOG("Failed to recreate, reverting to old settings\n"); diff --git a/Source/Plugins/Plugin_VideoOGL/Src/XFB.cpp b/Source/Plugins/Plugin_VideoOGL/Src/XFB.cpp index 0075dda215..68aadb3849 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/XFB.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/XFB.cpp @@ -81,7 +81,7 @@ void XFB_Draw(u8 *xfb_in_ram, u32 width, u32 height, s32 yOffset) glBindTexture(GL_TEXTURE_RECTANGLE_ARB, xfb_decoded_texture); glViewport(OpenGL_GetXoff(), OpenGL_GetYoff(), - (int)OpenGL_GetWidth(), (int)OpenGL_GetHeight); + (int)OpenGL_GetWidth(), (int)OpenGL_GetHeight()); GL_REPORT_ERRORD(); float w = (float)width;