* add needed libui functions under Windows, even if they don't do a whole lot

* fix ass-stupid fog bug
This commit is contained in:
Arisotura
2019-05-31 21:37:30 +02:00
parent 65ccf2a717
commit f6814e02c0
3 changed files with 27 additions and 6 deletions

View File

@ -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;
}