mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
define GL_OES_standard_derivatives if extension is supported
Define the macro GL_OES_standard_derivatives as 1 if the extension GL_OES_standard_derivatives is supported. V2 [Chris]: Correct trailing whitespace Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
This commit is contained in:
parent
3b69347efc
commit
e41cc45361
1 changed files with 2 additions and 0 deletions
|
|
@ -2232,6 +2232,8 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio
|
|||
if (extensions != NULL) {
|
||||
if (extensions->OES_EGL_image_external)
|
||||
add_builtin_define(parser, "GL_OES_EGL_image_external", 1);
|
||||
if (extensions->OES_standard_derivatives)
|
||||
add_builtin_define(parser, "GL_OES_standard_derivatives", 1);
|
||||
}
|
||||
} else {
|
||||
add_builtin_define(parser, "GL_ARB_draw_buffers", 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue