[GL][ES] Added tokens for backwards compatibility

The 4.5 spec moves BLEND_ADVANCED_COHERENT_KHR from
KHR_blend_equation_advanced to KHR_blend_equation_advanced_coherent.
Add a deprecated token to maintain binary compatibility.
This commit is contained in:
thefiddler 2014-08-12 00:08:15 +02:00
parent b0192b7d15
commit 240a5a6e70

View file

@ -4911,6 +4911,11 @@
<enum name="AMD_vertex_shader_tesselator"> <enum name="AMD_vertex_shader_tesselator">
<reuse enum="AMD_vertex_shader_tessellator" /> <reuse enum="AMD_vertex_shader_tessellator" />
</enum> </enum>
<!-- KHR_blend_equation_advanced -->
<enum name="KHR_blend_equation_advanced">
<use enum="KHR_blend_equation_advanced_coherent" token="BLEND_ADVANCED_COHERENT_KHR" obsolete="Use KHR_blend_equation_advanced_coherent instead"/>
</enum>
</add> </add>
<!--- gles1 --> <!--- gles1 -->
@ -6342,7 +6347,12 @@
<token name="OutOfMemory" value="0X0505" /> <token name="OutOfMemory" value="0X0505" />
<token name="InvalidFramebufferOperation " value="0X0506" /> <token name="InvalidFramebufferOperation " value="0X0506" />
</enum> </enum>
<!-- KHR_blend_equation_advanced -->
<enum name="KHR_blend_equation_advanced">
<use enum="KHR_blend_equation_advanced_coherent" token="BLEND_ADVANCED_COHERENT_KHR" obsolete="Use KHR_blend_equation_advanced_coherent instead"/>
</enum>
<!-- KHR_debug --> <!-- KHR_debug -->
<!-- Note that KHR_debug is part of the gles registry, <!-- Note that KHR_debug is part of the gles registry,
but is actually written against the desktop 4.2 spec. but is actually written against the desktop 4.2 spec.