mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 13:20:57 -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:
@ -187,7 +187,7 @@ void SetupDefaultTexParams(GLuint tex)
|
||||
bool Init()
|
||||
{
|
||||
GLint uni_id;
|
||||
|
||||
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glEnable(GL_STENCIL_TEST);
|
||||
|
||||
@ -1043,9 +1043,6 @@ void RenderFrame()
|
||||
{
|
||||
if (RenderPolygonRAM[i]->Degenerate) continue;
|
||||
|
||||
// zog.
|
||||
//if (RenderPolygonRAM[i]->YBottom <= 96 || RenderPolygonRAM[i]->YTop >= 144) continue;
|
||||
|
||||
SetupPolygon(&PolygonList[npolys], RenderPolygonRAM[i]);
|
||||
if (firsttrans < 0 && RenderPolygonRAM[i]->Translucent)
|
||||
firsttrans = npolys;
|
||||
|
Reference in New Issue
Block a user