Commit 6757882c authored by Erik Faye-Lund 's avatar Erik Faye-Lund

squashme: lower_ucp fix

parent d88e06a7
......@@ -52,6 +52,7 @@
#include "st_atom.h"
#include "st_program.h"
#include "st_texture.h"
#include "st_util.h"
static unsigned
......@@ -202,8 +203,7 @@ st_update_vp( struct st_context *st )
VARYING_SLOT_BFC1));
/* _NEW_TRANSFORM */
if (st->lower_ucp && st->ctx->Transform.ClipPlanesEnabled)
key.lower_ucp = st->ctx->Transform.ClipPlanesEnabled;
key.lower_ucp = st->lower_ucp && st_user_clip_planes_enabled(st->ctx);
st->vp_variant = st_get_vp_variant(st, stvp, &key);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment