From 18270f0904650b262dc22fc023c5a95a6f269d45 Mon Sep 17 00:00:00 2001 From: Sonicadvance1 Date: Sun, 24 Aug 2008 10:50:24 +0000 Subject: [PATCH] Linux: When you resize Window, it now resizes video, if you go above start dimension, it goes weird. Gotta look in to it git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@289 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp | 38 ++++++++++++++----- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp index 3abc62c6c3..38728ba357 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp @@ -517,18 +517,36 @@ void OpenGL_Update() nXoff = (nBackbufferWidth - (640 * MValueX)) / 2; nYoff = (nBackbufferHeight - (480 * MValueY)) / 2; } - /* - u32 TmpAAx = (width / 640) - 1; - u32 TmpAAy = (height / 480) - 1; - u32 FinalAA = TmpAAx < TmpAAy ? TmpAAx : TmpAAy; - - g_AAx = FinalAA; - g_AAy = FinalAA; - - s_nTargetWidth = 640<