From 79b32a46e50fa1cdf10171e2b72dfd19f7c0f8b1 Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Tue, 8 Apr 2014 12:01:26 -0400 Subject: [PATCH] restore ISO C90 support in r_opengl --- src/hardware/r_opengl/r_opengl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hardware/r_opengl/r_opengl.c b/src/hardware/r_opengl/r_opengl.c index 731f5bcf3..2e57ae6e3 100644 --- a/src/hardware/r_opengl/r_opengl.c +++ b/src/hardware/r_opengl/r_opengl.c @@ -1711,8 +1711,7 @@ EXPORT void HWRAPI(DrawMD2i) (INT32 *gl_cmd_buffer, md2_frame_t *frame, UINT32 d float pol; UINT32 newtime; - float scalex, scaley, scalez; - scalex = scaley = scalez = scale; + float scalex = scale, scaley = scale, scalez = scale; // Because Otherwise, scaling the screen negatively vertically breaks the lighting #ifndef KOS_GL_COMPATIBILITY