* Immediately apply mPaletteNew to the surface palette */
| 187 | * Immediately apply mPaletteNew to the surface palette |
| 188 | */ |
| 189 | void cSurface::surfaceSetToPaletteNew() { |
| 190 | |
| 191 | for(size_t cx = 0; cx < g_MaxColors; ++cx ) |
| 192 | paletteSDLColorSet( cx, &mPaletteNew[cx] ); |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * Calculate the surface palette color from the provided palette entry |
no outgoing calls
no test coverage detected