summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2008-12-21 15:26:45 +0000
committernakeee <nakeee@gmail.com>2008-12-21 15:26:45 +0000
commitffaf5177ed47f650ef9effef602bd9178f0aaaf2 (patch)
tree21297d2ccea4799eaad96a0ac338b29992e99c64
parent9bbec457c0603cb931afa9a0de06c5390bc18020 (diff)
typo fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1620 8ced0084-cf51-0410-be5f-012b33b47a6e
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/Render.cpp2
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/XFB.cpp2
2 files changed, 2 insertions, 2 deletions
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;