DXGL r862 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r861
|
r862
|
r863
>
Date:
14:58, 9 September 2018
Author:
admin
Status:
new
Tags:
Comment:
Initialize ddsdSrc in glRenderer__Blt to avoid uninitialized data exceptions in debug mode.
Modified paths:
/ddraw/glRenderer.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glRenderer.cpp
—
—
@@ -3407,6 +3407,7 @@
3408
3408
glUtil_SetViewport(This->util,0,0,cmd->dest->bigwidth,cmd->dest->bigheight);
3409
3409
glUtil_DepthTest(This->util, FALSE);
3410
3410
DDSURFACEDESC2 ddsdSrc;
3411
+ ZeroMemory(&ddsdSrc, sizeof(DDSURFACEDESC2));
3411
3412
ddsdSrc.dwSize = sizeof(DDSURFACEDESC2);
3412
3413
if (cmd->src)
3413
3414
{
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