From d5e47a6ee75a4f96628548ca6fa81525b64da2c9 Mon Sep 17 00:00:00 2001 From: keithw Date: Sat, 12 Oct 2002 10:02:45 +0000 Subject: Fix a bug where if an image is ever clientdata, it will always be clientdata (ie. texImage->IsClientData never goes FALSE) --- xc/lib/GL/mesa/src/drv/r200/r200_tex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xc/lib/GL/mesa/src/drv/r200/r200_tex.c b/xc/lib/GL/mesa/src/drv/r200/r200_tex.c index 797e1465a..05bd6644b 100644 --- a/xc/lib/GL/mesa/src/drv/r200/r200_tex.c +++ b/xc/lib/GL/mesa/src/drv/r200/r200_tex.c @@ -483,6 +483,8 @@ static void r200TexImage2D( GLcontext *ctx, GLenum target, GLint level, texObj->DriverData = t; } + texImage->IsClientData = GL_FALSE; + if (r200ValidateClientStorage( ctx, target, internalFormat, width, height, -- cgit v1.2.3