DXGL r593 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r592
|
r593
|
r594
>
Date:
20:44, 8 February 2015
Author:
admin
Status:
new
Tags:
Comment:
Sync before reading renderer caps.
Modified paths:
/ddraw/glDirectDraw.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDraw.cpp
—
—
@@ -1164,6 +1164,7 @@
1165
1165
mode.dmSize = sizeof(DEVMODE);
1166
1166
EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &mode);
1167
1167
glRenderer_Init(tmprenderer, 16, 16, mode.dmBitsPerPel, false, mode.dmDisplayFrequency, hGLWnd, NULL, FALSE);
1168
+ glRenderer_Sync(tmprenderer);
1168
1169
if (tmprenderer->ext->glver_major >= 3) fullrop = TRUE;
1169
1170
if (tmprenderer->ext->GLEXT_EXT_gpu_shader4) fullrop = TRUE;
1170
1171
glRenderer_Delete(tmprenderer);
—
—
@@ -1171,6 +1172,7 @@
1172
1173
}
1173
1174
else
1174
1175
{
1176
+ glRenderer_Sync(renderer);
1175
1177
if (renderer->ext->glver_major >= 3) fullrop = TRUE;
1176
1178
if (renderer->ext->GLEXT_EXT_gpu_shader4) fullrop = TRUE;
1177
1179
}
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