diff options
author | Brian Paul <[email protected]> | 2009-02-19 14:37:43 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-19 14:45:27 -0700 |
commit | 2b32c7dff51fa9853ba528744bd191400aa4b206 (patch) | |
tree | 0898138bcb0fde043c17fd802682ca6076ae5f6b /src/mesa/state_tracker/st_extensions.c | |
parent | a304cc6cca2ee21c3b25041abf882ef0616e5244 (diff) |
mesa: support GL_EXT_stencil_two_side in gallium/mesa state tracker
Since Ian's patch of a few weeks ago, we can enable all three variations
of two-sided stencil. Update the state tracker to handle the extra back-
face state and turn on the EXT.
Note: there's a new Glean test for two-sided stencil now...
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index cd34529d385..8f6be507742 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -208,6 +208,7 @@ void st_init_extensions(struct st_context *st) if (screen->get_param(screen, PIPE_CAP_TWO_SIDED_STENCIL)) { ctx->Extensions.ATI_separate_stencil = GL_TRUE; + ctx->Extensions.EXT_stencil_two_side = GL_TRUE; } if (screen->get_param(screen, PIPE_CAP_ANISOTROPIC_FILTER)) { |