src/video/windib/SDL_dibvideo.c
changeset 46 3dcf26fa9d15
parent 45 60a6e045808e
child 112 9ef74357a5fb
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);