DXGL r480 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r479‎ | r480 | r481 >
Date:00:26, 6 August 2014
Author:admin
Status:new
Tags:
Comment:
Disable OpenGL dithering. Fixes slight artifacts on Blt to 16-bit surfaces on GeForce 6 series.
Modified paths:
  • /ddraw/glRenderer.cpp (modified) (history)

Diff [purge]

Index: ddraw/glRenderer.cpp
@@ -881,6 +881,7 @@
882882 This->util->DepthTest(false);
883883 This->util->MatrixMode(GL_MODELVIEW);
884884 glDisable(GL_DEPTH_TEST);
 885+ glDisable(GL_DITHER);
885886 This->util->SetDepthComp(GL_LESS);
886887 const GLubyte *glver = glGetString(GL_VERSION);
887888 This->gl_caps.Version = (GLfloat)atof((char*)glver);