shithub: choc

Download patch

ref: 6daadc229db7e91aeb6acd7af44d614ebd0552e7
parent: 375cfc293b450e949059c77d5116557c8e521086
author: Azarien <[email protected]>
date: Sat Sep 19 10:45:50 EDT 2015

VS2008 does not support designated initializers

--- a/src/i_video.c
+++ b/src/i_video.c
@@ -159,10 +159,10 @@
 static SDL_Texture *texture_upscaled = NULL;
 
 static SDL_Rect blit_rect = {
-    .h = SCREENHEIGHT,
-    .w = SCREENWIDTH,
-    .x = 0,
-    .y = 0,
+    0,
+    0,
+    SCREENWIDTH,
+    SCREENHEIGHT
 };
 
 // palette