* Immediately apply mPalette to the surface palette */
| 178 | * Immediately apply mPalette to the surface palette |
| 179 | */ |
| 180 | void cSurface::surfaceSetToPalette() { |
| 181 | |
| 182 | for(size_t cx = 0; cx < g_MaxColors; ++cx ) |
| 183 | paletteSDLColorSet( cx, &mPalette[cx] ); |
| 184 | } |
| 185 | |
| 186 | /** |
| 187 | * Immediately apply mPaletteNew to the surface palette |
no outgoing calls