diff src/events/SDL_resize.c @ 1190:173c063d4f55

OS/2 port! This was mostly, if not entirely, written by "Doodle" and "Caetano": doodle@scenergy.dfmk.hu daniel@caetano.eng.br --ryan.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 23 Nov 2005 07:29:56 +0000
parents b8d311d90021
children c9b51268668f
line wrap: on
line diff
--- a/src/events/SDL_resize.c	Wed Nov 23 07:23:48 2005 +0000
+++ b/src/events/SDL_resize.c	Wed Nov 23 07:29:56 2005 +0000
@@ -45,8 +45,11 @@
 	SDL_Event events[32];
 
 	/* See if this event would change the video surface */
-	if ( !w || !h ||
-	     ((last_resize.w == w) && (last_resize.h == h)) ) {
+	if ( !w || !h
+#ifndef __OS2__
+            || ((last_resize.w == w) && (last_resize.h == h))
+#endif
+    ) {
 		return(0);
 	}
         last_resize.w = w;