DXGL r623 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r622‎ | r623 | r624 >
Date:01:52, 28 October 2015
Author:admin
Status:new
Tags:
Comment:
Clear GPU dirty bit when downloading texture.
Modified paths:
  • /ddraw/glTexture.cpp (modified) (history)

Diff [purge]

Index: ddraw/glTexture.cpp
@@ -750,6 +750,7 @@
751751 glGetTexImage(GL_TEXTURE_2D,level,This->format,This->type,data);
752752 }
753753 if (resize) glTexture__ScaleDownload(This, level);
 754+ This->mipmaps[level].dirty &= ~2;
754755 }
755756
756757 BOOL glTexture__Repair(glTexture *This)