mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
Revert "mesa: fix vertex program test in get_fp_input_mask()"
This reverts commit cdaaf8e107.
This commit is contained in:
parent
cdaaf8e107
commit
a8751f4916
1 changed files with 3 additions and 1 deletions
|
|
@ -215,7 +215,9 @@ static GLbitfield get_fp_input_mask( GLcontext *ctx )
|
|||
else if (ctx->RenderMode == GL_FEEDBACK) {
|
||||
fp_inputs = (FRAG_BIT_COL0 | FRAG_BIT_TEX0);
|
||||
}
|
||||
else if (!ctx->VertexProgram._Current) {
|
||||
else if (!ctx->VertexProgram._Enabled ||
|
||||
!ctx->VertexProgram._Current) {
|
||||
|
||||
/* Fixed function logic */
|
||||
GLbitfield varying_inputs = ctx->varying_vp_inputs;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue