summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/python/p_context.i
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-02-10 18:46:43 +0100
committerRoland Scheidegger <sroland@vmware.com>2010-02-10 18:46:43 +0100
commit903bb045b506ed5d64d1de90d8a17bb9d0d56a44 (patch)
treee0e74b92de9b922ae1ec067e1b2a02165ec15bf6 /src/gallium/state_trackers/python/p_context.i
parent98f8c4d0bb702c69fcddb504ddb702abc3aacc06 (diff)
gallium: adapt state trackers to stencil ref change
Diffstat (limited to 'src/gallium/state_trackers/python/p_context.i')
-rw-r--r--src/gallium/state_trackers/python/p_context.i6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/p_context.i b/src/gallium/state_trackers/python/p_context.i
index ce893dad45..3f36ccb621 100644
--- a/src/gallium/state_trackers/python/p_context.i
+++ b/src/gallium/state_trackers/python/p_context.i
@@ -130,11 +130,15 @@ struct st_context {
/*
* Parameter-like state (or properties)
*/
-
+
void set_blend_color(const struct pipe_blend_color *state ) {
cso_set_blend_color($self->cso, state);
}
+ void set_stencil_ref(const struct pipe_stencil_ref *state ) {
+ cso_set_stencil_ref($self->cso, state);
+ }
+
void set_clip(const struct pipe_clip_state *state ) {
$self->pipe->set_clip_state($self->pipe, state);
}