projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Support EXT_framebuffer_blit targets in ES 3.0 as well.
[mesa.git]
/
src
/
mesa
/
main
/
state.c
diff --git
a/src/mesa/main/state.c
b/src/mesa/main/state.c
index 76946bd93ebba089a59f4974ff652b7120dfed52..fb8b71cfe22932ae577935462b0161db6414e2cd 100644
(file)
--- a/
src/mesa/main/state.c
+++ b/
src/mesa/main/state.c
@@
-627,7
+627,8
@@
_mesa_set_varying_vp_inputs( struct gl_context *ctx,
*
* It's okay to check the VP pointer here, because this is called after
* _mesa_update_state in the vbo module. */
*
* It's okay to check the VP pointer here, because this is called after
* _mesa_update_state in the vbo module. */
- if (ctx->VertexProgram._TnlProgram) {
+ if (ctx->VertexProgram._TnlProgram ||
+ ctx->FragmentProgram._TexEnvProgram) {
ctx->NewState |= _NEW_VARYING_VP_INPUTS;
}
/*printf("%s %x\n", __FUNCTION__, varying_inputs);*/
ctx->NewState |= _NEW_VARYING_VP_INPUTS;
}
/*printf("%s %x\n", __FUNCTION__, varying_inputs);*/