mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-24 14:49:53 -06:00
* 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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user