Skip to content

Commit

Permalink
FULLPIPE: Fix drawAlphaRectangle()
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Sep 4, 2016
1 parent bbdae91 commit 8cc0583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/fullpipe/gfx.cpp
Expand Up @@ -1266,7 +1266,7 @@ DynamicPhase *Shadows::findSize(int width, int height) {

void FullpipeEngine::drawAlphaRectangle(int x1, int y1, int x2, int y2, int alpha) {
for (int y = y1; y < y2; y++) {
uint32 *ptr = (uint32 *)g_fp->_backgroundSurface.getBasePtr(0, y);
uint32 *ptr = (uint32 *)g_fp->_backgroundSurface.getBasePtr(x1, y);

for (int x = x1; x < x2; x++) {
uint32 color = *ptr;
Expand Down

0 comments on commit 8cc0583

Please sign in to comment.