Modified: trunk/darkplaces/gl_rmain.c
===================================================================
--- trunk/darkplaces/gl_rmain.c	2007-10-17 05:46:08 UTC (rev 7639)
+++ trunk/darkplaces/gl_rmain.c	2007-10-17 05:50:31 UTC (rev 7640)
@@ -2543,7 +2543,7 @@
 
 	// calculate desired texture sizes
 	// can't use water if the card does not support the texture size
-	if (!r_water.integer || waterwidth > gl_max_texture_size || waterheight > gl_max_texture_size)
+	if (!r_water.integer || !r_glsl.integer || !gl_support_fragment_shader || 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)
 	{

