From 0f71d812f6856e191b3851395c36a9481b9b1a23 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 1 Oct 2007 06:42:27 +0000 Subject: [PATCH] fix uninitialized variables git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7602 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index 989eace0..da1bd813 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -2447,7 +2447,7 @@ static void R_Water_StartFrame(void) // calculate desired texture sizes // can't use water if the card does not support the texture size - if (!r_glsl_water.integer || texturewidth > gl_max_texture_size || textureheight > gl_max_texture_size) + if (!r_glsl_water.integer || waterwidth > gl_max_texture_size || waterheight > gl_max_texture_size) texturewidth = textureheight = waterwidth = waterheight = 0; else if (gl_support_arb_texture_non_power_of_two) { -- 2.39.2