diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-05-15 16:43:56 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-05-15 16:43:56 +0200 |
commit | a89366cb5a1106152374c9e91ebef96149db76cc (patch) | |
tree | 609966c2307b683303ee5fb860c6d821ba5b32c1 /src/libui_sdl/libui/ui.h | |
parent | 4d427c9d2dea9ff0b965c3ffbbecc5e1cb40a01b (diff) |
begin butchering uiArea
Diffstat (limited to 'src/libui_sdl/libui/ui.h')
-rw-r--r-- | src/libui_sdl/libui/ui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libui_sdl/libui/ui.h b/src/libui_sdl/libui/ui.h index dd1c786..2641f30 100644 --- a/src/libui_sdl/libui/ui.h +++ b/src/libui_sdl/libui/ui.h @@ -341,7 +341,7 @@ _UI_EXTERN void uiAreaScrollTo(uiArea *a, double x, double y, double width, doub _UI_EXTERN void uiAreaBeginUserWindowMove(uiArea *a); _UI_EXTERN void uiAreaBeginUserWindowResize(uiArea *a, uiWindowResizeEdge edge); _UI_EXTERN void uiAreaSetBackgroundColor(uiArea *a, int r, int g, int b); -_UI_EXTERN uiArea *uiNewArea(uiAreaHandler *ah); +_UI_EXTERN uiArea *uiNewArea(uiAreaHandler *ah, int opengl); _UI_EXTERN uiArea *uiNewScrollingArea(uiAreaHandler *ah, int width, int height); struct uiAreaDrawParams { @@ -608,6 +608,7 @@ _UI_EXTERN uiGLContext *uiGLNewContext(uiControl* c, int vermajor, int verminor) _UI_EXTERN void uiGLFreeContext(uiGLContext* ctx); _UI_EXTERN void uiGLMakeContextCurrent(uiGLContext* ctx); _UI_EXTERN void *uiGLGetProcAddress(const char* proc); +_UI_EXTERN void uiGLSwapBuffers(uiGLContext* ctx); _UI_ENUM(uiModifiers) { |