Resets the texture cache
| 1325 | |
| 1326 | // Resets the texture cache |
| 1327 | void opengl_ResetCache(void) { |
| 1328 | if (OpenGL_cache_initted) { |
| 1329 | mem_free(OpenGL_lightmap_remap); |
| 1330 | mem_free(OpenGL_bitmap_remap); |
| 1331 | mem_free(OpenGL_lightmap_states); |
| 1332 | mem_free(OpenGL_bitmap_states); |
| 1333 | OpenGL_cache_initted = 0; |
| 1334 | } |
| 1335 | |
| 1336 | opengl_InitCache(); |
| 1337 | } |
| 1338 | |
| 1339 | uint8_t opengl_Framebuffer_ready = 0; |
| 1340 | chunked_bitmap opengl_Chunked_bitmap; |
no test coverage detected