X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fmesa%2Ftnl%2Ft_vb_texmat.c;h=cf8099509dcbe6a766e7334fa1ce36a01f085bea;hp=49875ead3e8ab499afd39b488a2ac85531d9abf7;hb=8e3696137f2cb7b4f5a3824f26186ecbb06f9282;hpb=289f02d1d5990e052e21eb250f6d40b47d6eb12f diff --git a/src/mesa/tnl/t_vb_texmat.c b/src/mesa/tnl/t_vb_texmat.c index 49875ead3e8..cf8099509dc 100644 --- a/src/mesa/tnl/t_vb_texmat.c +++ b/src/mesa/tnl/t_vb_texmat.c @@ -28,7 +28,7 @@ #include "main/glheader.h" #include "main/macros.h" -#include "util/imports.h" + #include "main/mtypes.h" #include "math/m_xform.h" @@ -59,7 +59,7 @@ static GLboolean run_texmat_stage( struct gl_context *ctx, struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; GLuint i; - if (!ctx->Texture._TexMatEnabled || ctx->VertexProgram._Current) + if (!ctx->Texture._TexMatEnabled || ctx->VertexProgram._Current) return GL_TRUE; /* ENABLE_TEXMAT implies that the texture matrix is not the