diff options
author | keithw <keithw> | 2002-10-12 10:02:45 +0000 |
---|---|---|
committer | keithw <keithw> | 2002-10-12 10:02:45 +0000 |
commit | d5e47a6ee75a4f96628548ca6fa81525b64da2c9 (patch) | |
tree | f34ae37ee482b385457e92c4104e028277e7376b | |
parent | 8a05b6d4ceb631ab4a7550633e8dee6537ae9a77 (diff) |
Fix a bug where if an image is ever clientdata, it will always be clientdata
(ie. texImage->IsClientData never goes FALSE)
-rw-r--r-- | xc/lib/GL/mesa/src/drv/r200/r200_tex.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |