mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 09:00:08 +01:00
mesa: use _mesa_dirty_texobj() in glTexParameter code
Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
878c69fe54
commit
ff005bdb7c
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue