Commit 8f3be339 authored by Ian Romanick's avatar Ian Romanick

glapi: Include GLES2 headers for ES2 extension functions

This fixes build errors like

In file included from glapi_dispatch.c:91:
../../../src/mapi/glapi/glapitemp.h:4641: error: no previous prototype for
'glDrawBuffersNV'
Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
Tested-by: default avatarLucas Stach <dev@lynxeye.de>
parent 7539a0d6
......@@ -38,6 +38,16 @@
#include "GL/gl.h"
#include "GL/glext.h"
/* The define of GL_COVERAGE_SAMPLES_NV in gl2ext.h is guarded by a different
* extension (GL_NV_coverage_sample) than in glext.h
* (GL_NV_multisample_coverage). Just undefine it to avoid spurious compiler
* warnings.
*/
#undef GL_COVERAGE_SAMPLES_NV
#include "GLES2/gl2platform.h"
#include "GLES2/gl2ext.h"
#ifndef GL_OES_fixed_point
typedef int GLfixed;
typedef int GLclampx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment