mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
mesa: Don't set dispatch pointers for glPointParameter[if][v] in ES2
NOTE: This is a candidate for the 9.0 branch Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
2a3a68e4c7
commit
1c0a44aaf5
1 changed files with 8 additions and 4 deletions
|
|
@ -428,8 +428,10 @@ _mesa_create_exec_table(struct gl_context *ctx)
|
|||
|
||||
/* 54. GL_EXT_point_parameters */
|
||||
#if _HAVE_FULL_GL
|
||||
SET_PointParameterfEXT(exec, _mesa_PointParameterf);
|
||||
SET_PointParameterfvEXT(exec, _mesa_PointParameterfv);
|
||||
if (ctx->API != API_OPENGLES2) {
|
||||
SET_PointParameterfEXT(exec, _mesa_PointParameterf);
|
||||
SET_PointParameterfvEXT(exec, _mesa_PointParameterfv);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* 95. GL_ARB_ES2_compatibility */
|
||||
|
|
@ -527,8 +529,10 @@ _mesa_create_exec_table(struct gl_context *ctx)
|
|||
|
||||
/* 262. GL_NV_point_sprite */
|
||||
#if _HAVE_FULL_GL
|
||||
SET_PointParameteriNV(exec, _mesa_PointParameteri);
|
||||
SET_PointParameterivNV(exec, _mesa_PointParameteriv);
|
||||
if (_mesa_is_desktop_gl(ctx)) {
|
||||
SET_PointParameteriNV(exec, _mesa_PointParameteri);
|
||||
SET_PointParameterivNV(exec, _mesa_PointParameteriv);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* 268. GL_EXT_stencil_two_side */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue