diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-05-31 21:37:30 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-05-31 21:37:30 +0200 |
commit | f6814e02c02a0ad68af107e7605c08ee47de79f4 (patch) | |
tree | 5d58e46b78e3dbd319f4f8232ed7494dcf534c99 /src/libui_sdl/libui | |
parent | 65ccf2a71762433b0674b2b42e5a70f90d9e2c5a (diff) |
* add needed libui functions under Windows, even if they don't do a whole lot
* fix ass-stupid fog bug
Diffstat (limited to 'src/libui_sdl/libui')
-rw-r--r-- | src/libui_sdl/libui/windows/gl.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/libui_sdl/libui/windows/gl.cpp b/src/libui_sdl/libui/windows/gl.cpp index 1e3732c..c621721 100644 --- a/src/libui_sdl/libui/windows/gl.cpp +++ b/src/libui_sdl/libui/windows/gl.cpp @@ -135,8 +135,27 @@ void *uiGLGetProcAddress(const char* proc) return (void*)wglGetProcAddress(proc); } +void uiGLBegin(uiGLContext* ctx) +{ +} + +void uiGLEnd(uiGLContext* ctx) +{ +} + void uiGLSwapBuffers(uiGLContext* ctx) { if (ctx == NULL) return; SwapBuffers(ctx->dc); } + +int uiGLGetFramebuffer(uiGLContext* ctx) +{ + return 0; +} + +float uiGLGetFramebufferScale(uiGLContext* ctx) +{ + // TODO + return 1; +} |