libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
|
Go to the source code of this file.
Macros | |
#define | GLEW_MX |
#define | GLEW_BUILD |
#define | LACF_GLEW_USE_NATIVE_TLS 0 |
Functions | |
void | lacf_glew_dllmain_hook (DWORD reason) |
void | lacf_glew_init (void) |
void | lacf_glew_thread_fini (void) |
void | lacf_glew_fini (void) |
static GLEWContext * | glewGetContext (void) |
Variables | |
DWORD | lacf_glew_ctx_key |
Includes and properly defines the context handler function for the GLEW OS-independent bindings (WGL/GLX).
This is needed since libacfutils uses GLEW-MX (multi-context) to support multi-threaded rendering, where each context can have different context caps (primarily for MacOS OpenGL 2.1/4.1 multi-context support).
You should include <acfutils/glew.h>
from your code, instead of going to the actual GLEW includes directly.
Definition in file glew.h.