| 314 | } |
| 315 | |
| 316 | void cSurface::clearBuffer(size_t pColor) { |
| 317 | |
| 318 | memset(mSurfaceBuffer, (int) pColor, mSurfaceBufferSize); |
| 319 | memset(mSurfaceBufferSaved, (int) pColor, mSurfaceBufferSize); |
| 320 | |
| 321 | clearSDLSurface(); |
| 322 | } |
| 323 | |
| 324 | bool cSurface::LoadPng(const std::string& pFile) { |
| 325 | int32 width, height, bytesPerPixel; |
no outgoing calls
no test coverage detected