From efa6f37887625ae97e41971f0a48ace0d6d2aad8 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Fri, 1 Jun 2001 02:08:47 +0000 Subject: [PATCH] Fixed triple buffer and mode switching --- zsnes/src/win/winlink.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index 237a37ea..d51ac89b 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -1128,12 +1128,9 @@ int InitDirectDraw() ReleaseDirectDraw(); - if(FullScreen == 0) - { - GetClientRect(hMainWindow, &rcWindow ); - ClientToScreen(hMainWindow, ( LPPOINT )&rcWindow ); - ClientToScreen(hMainWindow, ( LPPOINT )&rcWindow + 1 ); - } + GetClientRect(hMainWindow, &rcWindow); + ClientToScreen(hMainWindow, ( LPPOINT )&rcWindow); + ClientToScreen(hMainWindow, ( LPPOINT )&rcWindow + 1); if(DirectDrawCreateEx(NULL, (void **)&lpDD, IID_IDirectDraw7, NULL) != DD_OK) {