DXGL r922 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r921
|
r922
|
r923
>
Date:
00:39, 11 May 2019
Author:
admin
Status:
new
Tags:
Comment:
Fix Blt commands that read from the destination surface.
Modified paths:
/ddraw/glRenderer.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glRenderer.cpp
—
—
@@ -3396,7 +3396,7 @@
3397
3397
{
3398
3398
ShaderManager_SetShader(This->shaders, PROG_TEXTURE, NULL, 0);
3399
3399
if(!(cmd->flags & 0x80000000))
3400
- (This, cmd->dest, destrect, destrect2, PROG_TEXTURE);
3400
+ glRenderer__DrawBackbufferRect(This, cmd->dest, destrect, destrect2, PROG_TEXTURE);
3401
3401
This->bltvertices[1].dests = This->bltvertices[3].dests = 0.0f;
3402
3402
This->bltvertices[0].dests = This->bltvertices[2].dests = (GLfloat)(destrect.right - destrect.left) / (GLfloat)This->backbuffer->levels[0].ddsd.dwWidth;
3403
3403
This->bltvertices[0].destt = This->bltvertices[1].destt = 1.0f;
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