Performance Optimization: Ddraw will only do the palette resolve on present.

This commit is contained in:
Justin Marshall
2020-06-06 04:24:25 -07:00
parent 2a81d98ee1
commit aecadacfa5
2 changed files with 29 additions and 21 deletions
+1
View File
@@ -241,6 +241,7 @@ private:
*/
class FAR IDirectDrawSurfaceWrapper : public IDirectDrawSurface
{
friend void Device_Present(void);
// Implemented interfaces
public:
IDirectDrawSurfaceWrapper() { attachedPalette = NULL; }