wined3d: Add fallback to EXT_polygon_offset_clamp.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
237136d2f7
commit
b34a21740f
|
@ -184,6 +184,7 @@ static const struct wined3d_extension_map gl_extension_map[] =
|
||||||
{"GL_EXT_packed_depth_stencil", EXT_PACKED_DEPTH_STENCIL },
|
{"GL_EXT_packed_depth_stencil", EXT_PACKED_DEPTH_STENCIL },
|
||||||
{"GL_EXT_packed_float", EXT_PACKED_FLOAT },
|
{"GL_EXT_packed_float", EXT_PACKED_FLOAT },
|
||||||
{"GL_EXT_point_parameters", EXT_POINT_PARAMETERS },
|
{"GL_EXT_point_parameters", EXT_POINT_PARAMETERS },
|
||||||
|
{"GL_EXT_polygon_offset_clamp", ARB_POLYGON_OFFSET_CLAMP },
|
||||||
{"GL_EXT_provoking_vertex", EXT_PROVOKING_VERTEX },
|
{"GL_EXT_provoking_vertex", EXT_PROVOKING_VERTEX },
|
||||||
{"GL_EXT_secondary_color", EXT_SECONDARY_COLOR },
|
{"GL_EXT_secondary_color", EXT_SECONDARY_COLOR },
|
||||||
{"GL_EXT_stencil_two_side", EXT_STENCIL_TWO_SIDE },
|
{"GL_EXT_stencil_two_side", EXT_STENCIL_TWO_SIDE },
|
||||||
|
@ -2481,6 +2482,8 @@ static void load_gl_funcs(struct wined3d_gl_info *gl_info)
|
||||||
/* GL_EXT_point_parameters */
|
/* GL_EXT_point_parameters */
|
||||||
USE_GL_FUNC(glPointParameterfEXT)
|
USE_GL_FUNC(glPointParameterfEXT)
|
||||||
USE_GL_FUNC(glPointParameterfvEXT)
|
USE_GL_FUNC(glPointParameterfvEXT)
|
||||||
|
/* GL_EXT_polgyon_offset_clamp */
|
||||||
|
USE_GL_FUNC(glPolygonOffsetClampEXT)
|
||||||
/* GL_EXT_provoking_vertex */
|
/* GL_EXT_provoking_vertex */
|
||||||
USE_GL_FUNC(glProvokingVertexEXT)
|
USE_GL_FUNC(glProvokingVertexEXT)
|
||||||
/* GL_EXT_secondary_color */
|
/* GL_EXT_secondary_color */
|
||||||
|
@ -2774,6 +2777,7 @@ static void load_gl_funcs(struct wined3d_gl_info *gl_info)
|
||||||
MAP_GL_FUNCTION(glLinkProgram, glLinkProgramARB);
|
MAP_GL_FUNCTION(glLinkProgram, glLinkProgramARB);
|
||||||
MAP_GL_FUNCTION(glMapBuffer, glMapBufferARB);
|
MAP_GL_FUNCTION(glMapBuffer, glMapBufferARB);
|
||||||
MAP_GL_FUNCTION(glMinSampleShading, glMinSampleShadingARB);
|
MAP_GL_FUNCTION(glMinSampleShading, glMinSampleShadingARB);
|
||||||
|
MAP_GL_FUNCTION(glPolygonOffsetClamp, glPolygonOffsetClampEXT);
|
||||||
MAP_GL_FUNCTION_CAST(glShaderSource, glShaderSourceARB);
|
MAP_GL_FUNCTION_CAST(glShaderSource, glShaderSourceARB);
|
||||||
MAP_GL_FUNCTION(glTexBuffer, glTexBufferARB);
|
MAP_GL_FUNCTION(glTexBuffer, glTexBufferARB);
|
||||||
MAP_GL_FUNCTION_CAST(glTexImage3D, glTexImage3DEXT);
|
MAP_GL_FUNCTION_CAST(glTexImage3D, glTexImage3DEXT);
|
||||||
|
|
Loading…
Reference in New Issue