gallium: more work for edgeflags changes

fixes, cleanups, etc.
not working yet
This commit is contained in:
Roland Scheidegger
2009-12-14 18:36:33 +01:00
parent a08e348a84
commit a0127b6ced
15 changed files with 34 additions and 58 deletions

View File

@@ -113,8 +113,8 @@ find_translated_vp(struct st_context *st,
* the input to the output. We'll need to use similar logic to set
* up the extra vertex_element input for edgeflags.
*/
key.passthrough_edgeflags = (ctx->Polygon.FrontMode != GL_FILL ||
ctx->Polygon.BackMode != GL_FILL);
key.passthrough_edgeflags = (st->ctx->Polygon.FrontMode != GL_FILL ||
st->ctx->Polygon.BackMode != GL_FILL);
/* Do we need to throw away old translations after a change in the