From dd6feb7b00545611a7a5b1d469244b3936d46cad Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 12 Dec 2013 13:12:19 -0800 Subject: [PATCH] Include epoxy/gl.h instead of epoxy/gl_generated.h from egl_generated.h This gets us the safety check for including GL/gl.h before epoxy/gl.h --- src/gen_dispatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen_dispatch.py b/src/gen_dispatch.py index 652dfff..8786b48 100755 --- a/src/gen_dispatch.py +++ b/src/gen_dispatch.py @@ -470,7 +470,7 @@ class Generator(object): self.write_header_header(file) if self.target != "gl": - self.outln('#include "epoxy/gl_generated.h"') + self.outln('#include "epoxy/gl.h"') if self.target == "egl": self.outln('#include "EGL/eglplatform.h"') else: