From 90e103b9a849d31939ae99d6914f38dbe2345498 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 12 Jan 2004 03:54:29 +0000 Subject: [PATCH] don't try to upload distorttextures if the texture shader extension is missing git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3803 d7cf8633-e32d-0410-b094-e92efae38249 --- model_shared.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/model_shared.c b/model_shared.c index 28841924..766ab18f 100644 --- a/model_shared.c +++ b/model_shared.c @@ -112,19 +112,24 @@ void Mod_BuildDistortTexture (void) } } + for (i=0; i<4; i++) { for (j=0; j<16; j++) { - for (y=0; y