DXGL r917 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r916‎ | r917 | r918 >
Date:17:22, 15 April 2019
Author:admin
Status:new
Tags:
Comment:
Fix 8-bit display mode.
Modified paths:
  • /ddraw/glDirectDrawPalette.c (modified) (history)

Diff [purge]

Index: ddraw/glDirectDrawPalette.c
@@ -327,6 +327,7 @@
328328 {
329329 if (dwFlags & 0x800) memcpy(newpal->palette, DefaultPalette, 1024);
330330 else return DDERR_INVALIDPARAMS;
 331+ newpal->palsize = 256;
331332 }
332333 else
333334 {