foxygit / doom Log in
commit 6daadc229db7e91aeb6acd7af44d614ebd0552e7
Author:     Azarien <Azarien@users.noreply.github.com>
AuthorDate: Sat Sep 19 14:45:50 2015 +0200
Commit:     Azarien <Azarien@users.noreply.github.com>
CommitDate: Sat Sep 19 14:45:50 2015 +0200

    VS2008 does not support designated initializers
---
 src/i_video.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/i_video.c b/src/i_video.c
index 11c34e08..b45ca1a5 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -159,10 +159,10 @@ static SDL_Texture *texture = NULL;
 static SDL_Texture *texture_upscaled = NULL;

 static SDL_Rect blit_rect = {
-    .h = SCREENHEIGHT,
-    .w = SCREENWIDTH,
-    .x = 0,
-    .y = 0,
+    0,
+    0,
+    SCREENWIDTH,
+    SCREENHEIGHT
 };

 // palette