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/GPU3D_OpenGL.cpp | |
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/GPU3D_OpenGL.cpp')
-rw-r--r-- | src/GPU3D_OpenGL.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/GPU3D_OpenGL.cpp b/src/GPU3D_OpenGL.cpp index db2617c..95243d1 100644 --- a/src/GPU3D_OpenGL.cpp +++ b/src/GPU3D_OpenGL.cpp @@ -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; |