comparison src/video/windib/SDL_dibvideo.c @ 46:3dcf26fa9d15

*** empty log message ***
author Sam Lantinga <slouken@lokigames.com>
date Thu, 07 Jun 2001 13:53:51 +0000
parents 60a6e045808e
children 9ef74357a5fb
comparison
equal deleted inserted replaced
45:60a6e045808e 46:3dcf26fa9d15
750 entries[i].peRed = colors[i].r; 750 entries[i].peRed = colors[i].r;
751 entries[i].peGreen = colors[i].g; 751 entries[i].peGreen = colors[i].g;
752 entries[i].peBlue = colors[i].b; 752 entries[i].peBlue = colors[i].b;
753 #ifndef _WIN32_WCE 753 #ifndef _WIN32_WCE
754 entries[i].peFlags = PC_NOCOLLAPSE; 754 entries[i].peFlags = PC_NOCOLLAPSE;
755 else 755 #else
756 entries[i].peFlags = 0; 756 entries[i].peFlags = 0;
757 #endif 757 #endif
758 } 758 }
759 SetPaletteEntries(screen_pal, firstcolor, ncolors, entries); 759 SetPaletteEntries(screen_pal, firstcolor, ncolors, entries);
760 SelectPalette(hdc, screen_pal, FALSE); 760 SelectPalette(hdc, screen_pal, FALSE);