omegalib
13.1
|
Macros | |
#define | GLEW_MX |
#define | oglError _oglError(__FILE__, __LINE__) |
Typedefs | |
typedef struct GLEWContextStruct | GLEWContext |
Functions | |
bool | _oglError (const char *file, int line) |
Returns true if the last opengl call failed, and prints an error message. More... | |
OMEGA_API GLEWContext * | glewGetContext () |
Glew. More... | |
OMEGA_API void | glewSetContext (const GLEWContext *context) |
#define GLEW_MX |
#define oglError _oglError(__FILE__, __LINE__) |
typedef struct GLEWContextStruct GLEWContext |
|
inline |
Returns true if the last opengl call failed, and prints an error message.
OMEGA_API GLEWContext* glewGetContext | ( | ) |
Glew.
gets a glew context for the current thread, if present.
OMEGA_API void glewSetContext | ( | const GLEWContext * | context | ) |
sets a glew context for the current thread.