mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-12 15:47:18 +00:00
typo fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1620 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9bbec457c0
commit
ffaf5177ed
@ -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");
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user