diff options
author | Eric Anholt <eric@anholt.net> | 2013-12-15 20:54:41 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2013-12-15 22:43:47 -0800 |
commit | 8f42fd3fe4ec6376234b520a546846600f23352f (patch) | |
tree | ff7737708087c7e3f4b6a1c242acbdb8525bc769 /src | |
parent | 26880549bc5db7cfd99a82b80ca113c5273bf35a (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/dispatch_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispatch_common.h b/src/dispatch_common.h index 73bbb1d..d456066 100644 --- a/src/dispatch_common.h +++ b/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); |