From 69bfc75b74c4b554fb576562684ba0b970771fb4 Mon Sep 17 00:00:00 2001 From: Prabhu Sundararaj Date: Wed, 12 May 2021 17:20:50 -0500 Subject: [PATCH 5/5] glfw: fix glfw3.h gl error Signed-off-by: Prabhu Sundararaj --- samples/extensions/open_gl_interop/offscreen_context.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samples/extensions/open_gl_interop/offscreen_context.h b/samples/extensions/open_gl_interop/offscreen_context.h index c125aeb..7260c11 100644 --- a/samples/extensions/open_gl_interop/offscreen_context.h +++ b/samples/extensions/open_gl_interop/offscreen_context.h @@ -57,6 +57,7 @@ struct ContextData }; #else // Desktop +#define GLFW_INCLUDE_ES31 # include # include @@ -87,4 +88,4 @@ class OffscreenContext ContextData data; GLuint load_shader(const char *shader_source, GLenum shader_type); -}; \ No newline at end of file +}; -- 2.25.1