DXGL r388 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r387‎ | r388 | r389 >
Date:02:04, 24 June 2013
Author:admin
Status:new
Tags:
Comment:
Further fixes for sampler objects filter.
Modified paths:
  • /ddraw/glRenderer.cpp (modified) (history)

Diff [purge]

Index: ddraw/glRenderer.cpp
@@ -1147,6 +1147,7 @@
11481148 glUniform1i(shaders[progtype].tex0,0);
11491149 }
11501150 if(dxglcfg.scalingfilter && GLEXT_ARB_sampler_objects) ((glDirectDrawSurface7*)NULL)->SetFilter(0,GL_LINEAR,GL_LINEAR);
 1151+ else if(GLEXT_ARB_sampler_objects) ((glDirectDrawSurface7*)NULL)->SetFilter(0,GL_NEAREST,GL_NEAREST);
11511152 SetViewport(viewport[0],viewport[1],viewport[2],viewport[3]);
11521153 glUniform4f(shaders[progtype].view,view[0],view[1],view[2],view[3]);
11531154 if(ddInterface->GetFullscreen())