swrast: Enable GL_EXT_stencil_two_side
This commit is contained in:

committed by
Ian Romanick

parent
dde7cb9628
commit
b5fbdef7ec
@@ -72,6 +72,7 @@
|
|||||||
#define need_GL_EXT_framebuffer_blit
|
#define need_GL_EXT_framebuffer_blit
|
||||||
#define need_GL_EXT_gpu_program_parameters
|
#define need_GL_EXT_gpu_program_parameters
|
||||||
#define need_GL_EXT_paletted_texture
|
#define need_GL_EXT_paletted_texture
|
||||||
|
#define need_GL_EXT_stencil_two_side
|
||||||
#define need_GL_IBM_multimode_draw_arrays
|
#define need_GL_IBM_multimode_draw_arrays
|
||||||
#define need_GL_MESA_resize_buffers
|
#define need_GL_MESA_resize_buffers
|
||||||
#define need_GL_NV_vertex_program
|
#define need_GL_NV_vertex_program
|
||||||
@@ -103,6 +104,7 @@ const struct dri_extension card_extensions[] =
|
|||||||
{ "GL_EXT_framebuffer_blit", GL_EXT_framebuffer_blit_functions },
|
{ "GL_EXT_framebuffer_blit", GL_EXT_framebuffer_blit_functions },
|
||||||
{ "GL_EXT_gpu_program_parameters", GL_EXT_gpu_program_parameters_functions },
|
{ "GL_EXT_gpu_program_parameters", GL_EXT_gpu_program_parameters_functions },
|
||||||
{ "GL_EXT_paletted_texture", GL_EXT_paletted_texture_functions },
|
{ "GL_EXT_paletted_texture", GL_EXT_paletted_texture_functions },
|
||||||
|
{ "GL_EXT_stencil_two_side", GL_EXT_stencil_two_side_functions },
|
||||||
{ "GL_IBM_multimode_draw_arrays", GL_IBM_multimode_draw_arrays_functions },
|
{ "GL_IBM_multimode_draw_arrays", GL_IBM_multimode_draw_arrays_functions },
|
||||||
{ "GL_MESA_resize_buffers", GL_MESA_resize_buffers_functions },
|
{ "GL_MESA_resize_buffers", GL_MESA_resize_buffers_functions },
|
||||||
{ "GL_NV_vertex_program", GL_NV_vertex_program_functions },
|
{ "GL_NV_vertex_program", GL_NV_vertex_program_functions },
|
||||||
|
@@ -262,7 +262,7 @@ _mesa_enable_sw_extensions(GLcontext *ctx)
|
|||||||
ctx->Extensions.EXT_secondary_color = GL_TRUE;
|
ctx->Extensions.EXT_secondary_color = GL_TRUE;
|
||||||
ctx->Extensions.EXT_shared_texture_palette = GL_TRUE;
|
ctx->Extensions.EXT_shared_texture_palette = GL_TRUE;
|
||||||
ctx->Extensions.EXT_stencil_wrap = GL_TRUE;
|
ctx->Extensions.EXT_stencil_wrap = GL_TRUE;
|
||||||
ctx->Extensions.EXT_stencil_two_side = GL_FALSE; /* obsolete */
|
ctx->Extensions.EXT_stencil_two_side = GL_TRUE;
|
||||||
ctx->Extensions.EXT_texture_env_add = GL_TRUE;
|
ctx->Extensions.EXT_texture_env_add = GL_TRUE;
|
||||||
ctx->Extensions.EXT_texture_env_combine = GL_TRUE;
|
ctx->Extensions.EXT_texture_env_combine = GL_TRUE;
|
||||||
ctx->Extensions.EXT_texture_env_dot3 = GL_TRUE;
|
ctx->Extensions.EXT_texture_env_dot3 = GL_TRUE;
|
||||||
@@ -410,7 +410,7 @@ _mesa_enable_2_0_extensions(GLcontext *ctx)
|
|||||||
#if FEATURE_ARB_shading_language_100
|
#if FEATURE_ARB_shading_language_100
|
||||||
ctx->Extensions.ARB_shading_language_100 = GL_TRUE;
|
ctx->Extensions.ARB_shading_language_100 = GL_TRUE;
|
||||||
#endif
|
#endif
|
||||||
ctx->Extensions.EXT_stencil_two_side = GL_FALSE; /* obsolete */
|
ctx->Extensions.EXT_stencil_two_side = GL_TRUE;
|
||||||
#if FEATURE_ARB_vertex_shader
|
#if FEATURE_ARB_vertex_shader
|
||||||
ctx->Extensions.ARB_vertex_shader = GL_TRUE;
|
ctx->Extensions.ARB_vertex_shader = GL_TRUE;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user