DXGL r372 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r371
|
r372
|
r373
>
Date:
23:20, 13 May 2013
Author:
admin
Status:
new
Tags:
Comment:
Disable vsync when unlocking primary.
Modified paths:
/ddraw/glDirectDrawSurface.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDrawSurface.cpp
—
—
@@ -1211,7 +1211,11 @@
1212
1212
if(((ddsd.ddsCaps.dwCaps & (DDSCAPS_FRONTBUFFER)) &&
1213
1213
(ddsd.ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE)) ||
1214
1214
((ddsd.ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE) &&
1215
- !(ddsd.ddsCaps.dwCaps & DDSCAPS_FLIP))) RenderScreen(texture,this);
1215
+ !(ddsd.ddsCaps.dwCaps & DDSCAPS_FLIP)))
1216
+ {
1217
+ swapinterval = 0;
1218
+ RenderScreen(texture,this);
1219
+ }
1216
1220
TRACE_EXIT(23,DD_OK);
1217
1221
return DD_OK;
1218
1222
}
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