projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GLSL fixes:
[mesa.git]
/
src
/
mesa
/
tnl
/
t_vb_texmat.c
diff --git
a/src/mesa/tnl/t_vb_texmat.c
b/src/mesa/tnl/t_vb_texmat.c
index 701f27bd8a53b468b51c70c0811f858c58f45bd6..1feb0b750efe2ffcae36d0a28497ce05bf5ff7ff 100644
(file)
--- a/
src/mesa/tnl/t_vb_texmat.c
+++ b/
src/mesa/tnl/t_vb_texmat.c
@@
-61,7
+61,7
@@
static GLboolean run_texmat_stage( GLcontext *ctx,
struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb;
GLuint i;
- if (ctx->ShaderObjects.
CurrentProgram != NULL
)
+ if (ctx->ShaderObjects.
_VertexShaderPresent
)
return GL_TRUE;
if (!ctx->Texture._TexMatEnabled || ctx->VertexProgram._Enabled)