From 4907004aec4c5a5273967f76b4baa15f1e1a9e02 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Tue, 10 Mar 2020 16:46:22 +0800 Subject: [PATCH] cleanup --- src/newgal/pcxvfb/pcxvfb.c | 2 +- src/newgal/sysvideo.h | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/newgal/pcxvfb/pcxvfb.c b/src/newgal/pcxvfb/pcxvfb.c index ad18ad73..e8a511db 100644 --- a/src/newgal/pcxvfb/pcxvfb.c +++ b/src/newgal/pcxvfb/pcxvfb.c @@ -328,7 +328,7 @@ static void PCXVFB_UpdateRects (_THIS, int numrects, GAL_Rect *rects) int i; RECT bound; -#ifdef WIN32 +#ifdef WIN32 //win_PCXVFbLock (); #else shm_lock(semid); diff --git a/src/newgal/sysvideo.h b/src/newgal/sysvideo.h index 859baed3..35480b4c 100644 --- a/src/newgal/sysvideo.h +++ b/src/newgal/sysvideo.h @@ -101,10 +101,10 @@ struct GAL_VideoDevice { GAL_Surface *(*SetVideoMode)(_THIS, GAL_Surface *current, int width, int height, int bpp, Uint32 flags); +#if 0 /* Toggle the fullscreen mode */ int (*ToggleFullScreen)(_THIS, int on); -#if 0 /* This is called after the video mode has been set, to get the initial mouse state. It should queue events as necessary to properly represent the current mouse focus and position. @@ -224,8 +224,6 @@ struct GAL_VideoDevice { /* * * */ /* Data common to all drivers */ GAL_Surface *screen; -// GAL_Surface *shadow; -// GAL_Surface *visible; GAL_Palette *physpal; /* physical palette, if != logical palette */ char *wm_title; char *wm_icon;