MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / InternalClearCursorCache

Method InternalClearCursorCache

src/video/opengl.cpp:1127–1130  ·  view source on GitHub ↗

* Clear all cached cursor sprites. */

Source from the content-addressed store, hash-verified

1125 * Clear all cached cursor sprites.
1126 */
1127void OpenGLBackend::InternalClearCursorCache()
1128{
1129 this->cursor_cache.Clear();
1130}
1131
1132/**
1133 * Queue a request for cursor cache clear.

Callers 2

~OpenGLBackendMethod · 0.95
PopulateCursorCacheMethod · 0.95

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected