diff options
author | Adam Jackson <[email protected]> | 2017-08-24 17:00:43 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2017-08-25 12:38:14 -0400 |
commit | 2bae451bd3fe93c47aa231ab35ae18ae86b7df5a (patch) | |
tree | dc6df5b2e054222c4662cb73350730d04a670452 /src/mapi | |
parent | 00caf2ab088dd2e08ce410850dee61ba2b9aa63a (diff) |
mesa: Implement GL_ARB_polygon_offset_clamp
Semantically identical to the EXT version (whose string is still valid
for GLES), so rename the bit but expose both extension strings.
(Suggested by Ilia Mirkin and Ian Romanick.)
v3: Fix the entrypoint alias in GL4x.xml (Ilia)
Signed-off-by: Adam Jackson <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/gen/GL4x.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/GL4x.xml b/src/mapi/glapi/gen/GL4x.xml index e958ee70c71..88dba5cd71a 100644 --- a/src/mapi/glapi/gen/GL4x.xml +++ b/src/mapi/glapi/gen/GL4x.xml @@ -66,4 +66,13 @@ </function> </category> +<category name="4.6"> + <function name="PolygonOffsetClamp" alias="PolygonOffsetClampEXT"> + <param name="factor" type="GLfloat"/> + <param name="units" type="GLfloat"/> + <param name="clamp" type="GLfloat"/> + </function> + <enum name="POLYGON_OFFSET_CLAMP" value="0x8E1B"/> +</category> + </OpenGLAPI> |