fix broken two-sided stencil
This commit is contained in:
@@ -120,7 +120,7 @@ init_machine(GLcontext *ctx, struct gl_program_machine *machine,
|
||||
/* if running a GLSL program (not ARB_fragment_program) */
|
||||
if (ctx->Shader.CurrentProgram) {
|
||||
/* Store front/back facing value in register FOGC.Y */
|
||||
machine->Attribs[FRAG_ATTRIB_FOGC][col][1] = (GLfloat) ctx->_Facing;
|
||||
machine->Attribs[FRAG_ATTRIB_FOGC][col][1] = (GLfloat) span->facing;
|
||||
}
|
||||
|
||||
machine->CurElement = col;
|
||||
|
Reference in New Issue
Block a user