Remove redeclaration of khronos_uintptr_t

The type is being redeclared because I didn't see the original
declaration when I wrote 144cbc9325.

Fixes: #249
macos/v1.5.9
Emmanuele Bassi 4 years ago
parent e271edbc3b
commit 1403303e77
  1. 1
      src/gen_dispatch.py

@ -535,7 +535,6 @@ class Generator(object):
self.outln(' KHRONOS_TRUE = 1,') self.outln(' KHRONOS_TRUE = 1,')
self.outln(' KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM') self.outln(' KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM')
self.outln('} khronos_boolean_enum_t;') self.outln('} khronos_boolean_enum_t;')
self.outln('typedef uintptr_t khronos_uintptr_t;')
if self.target == "glx": if self.target == "glx":
self.outln('#include <X11/Xlib.h>') self.outln('#include <X11/Xlib.h>')

Loading…
Cancel
Save