DXGL r388 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
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 @@
1148
1148
glUniform1i(shaders[progtype].tex0,0);
1149
1149
}
1150
1150
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);
1151
1152
SetViewport(viewport[0],viewport[1],viewport[2],viewport[3]);
1152
1153
glUniform4f(shaders[progtype].view,view[0],view[1],view[2],view[3]);
1153
1154
if(ddInterface->GetFullscreen())
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version