* Queue a request for cursor cache clear. */
| 1133 | * Queue a request for cursor cache clear. |
| 1134 | */ |
| 1135 | void OpenGLBackend::ClearCursorCache() |
| 1136 | { |
| 1137 | /* If the game loop is threaded, this function might be called |
| 1138 | * from the game thread. As we can call OpenGL functions only |
| 1139 | * on the main thread, just set a flag that is handled the next |
| 1140 | * time we prepare the cursor cache for drawing. */ |
| 1141 | this->clear_cursor_cache = true; |
| 1142 | } |
| 1143 | |
| 1144 | /** |
| 1145 | * Get a pointer to the memory for the video driver to draw to. |
no outgoing calls
no test coverage detected