From: Brian Paul Date: Sat, 17 Mar 2012 22:30:03 +0000 (-0600) Subject: mesa: use _mesa_dirty_texobj() in glTexParameter code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff005bdb7cdeb84477b26796ac216459e49daa55;p=mesa.git mesa: use _mesa_dirty_texobj() in glTexParameter code Reviewed-by: José Fonseca Reviewed-by: Eric Anholt --- diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c index 9a2ec518fcd..205f51f4231 100644 --- a/src/mesa/main/texparam.c +++ b/src/mesa/main/texparam.c @@ -41,6 +41,7 @@ #include "main/mtypes.h" #include "main/state.h" #include "main/texcompress.h" +#include "main/texobj.h" #include "main/texparam.h" #include "main/teximage.h" #include "main/texstate.h" @@ -221,7 +222,7 @@ static inline void incomplete(struct gl_context *ctx, struct gl_texture_object *texObj) { FLUSH_VERTICES(ctx, _NEW_TEXTURE); - texObj->_Complete = GL_FALSE; + _mesa_dirty_texobj(ctx, texObj, GL_TRUE); }