DXGL r430 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r429‎ | r430 | r431 >
Date:19:13, 13 April 2014
Author:admin
Status:new
Tags:
Comment:
Make default 8-bit palette const.
Modified paths:
  • /ddraw/glDirectDrawPalette.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirectDrawPalette.cpp
@@ -20,7 +20,7 @@
2121 #include "glDirectDrawPalette.h"
2222
2323
24 -unsigned char DefaultPalette[1024] = {
 24+const unsigned char DefaultPalette[1024] = {
2525 0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x80,0x80,0x00,0x00,
2626 0x00,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x00,0x80,0x80,0x00,0xc0,0xc0,0xc0,0x00,
2727 0xa0,0xa0,0xa0,0x00,0xf0,0xf0,0xf0,0x00,0x40,0x20,0x00,0x00,0x60,0x20,0x00,0x00,