Fix declaration of glBegin/End_unwrapped.

On non-win32, it was declaring a new function pointer variable on
every #include, and OS X's linker got angry.
macos/v1.5.9
Eric Anholt 11 years ago
parent 26880549bc
commit 8f42fd3fe4
  1. 4
      src/dispatch_common.h

@ -91,5 +91,5 @@ void epoxy_print_failure_reasons(const char *name,
bool epoxy_extension_in_string(const char *extension_list, const char *ext);
void UNWRAPPED_PROTO(epoxy_glBegin_unwrapped)(GLenum primtype);
void UNWRAPPED_PROTO(epoxy_glEnd_unwrapped)(void);
extern void UNWRAPPED_PROTO(epoxy_glBegin_unwrapped)(GLenum primtype);
extern void UNWRAPPED_PROTO(epoxy_glEnd_unwrapped)(void);

Loading…
Cancel
Save