* add some GL base to libui (only for Windows for now)

* make the Codeblocks project a bit less braindead (don't repeat libraries for each build target)
This commit is contained in:
Arisotura
2019-03-31 21:54:14 +02:00
parent 75f8cbf953
commit b48fe5909b
3 changed files with 4 additions and 1 deletions

View File

@ -601,11 +601,11 @@ _UI_EXTERN void uiDrawText(uiDrawContext *c, double x, double y, uiDrawTextLayou
// OpenGL support
// TODO for later: allow using OpenGL inside a uiWindow or uiArea
typedef struct uiGLContext uiGLContext;
_UI_EXTERN uiGLContext *uiGLNewContext(uiControl* c);
_UI_EXTERN void uiGLFreeContext(uiGLContext* ctx);
_UI_EXTERN void uiGLMakeContextCurrent(uiGLContext* ctx);
_UI_EXTERN void *uiGLGetProcAddress(const char* proc);