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
macos/v1.5.9
Eric Anholt 11 years ago
parent 46e036419c
commit dd6feb7b00
  1. 2
      src/gen_dispatch.py

@ -470,7 +470,7 @@ class Generator(object):
self.write_header_header(file) self.write_header_header(file)
if self.target != "gl": if self.target != "gl":
self.outln('#include "epoxy/gl_generated.h"') self.outln('#include "epoxy/gl.h"')
if self.target == "egl": if self.target == "egl":
self.outln('#include "EGL/eglplatform.h"') self.outln('#include "EGL/eglplatform.h"')
else: else:

Loading…
Cancel
Save