| 2180 | } |
| 2181 | |
| 2182 | void ReshapeWindow(int width, int height) |
| 2183 | { |
| 2184 | if (!g_benchmark) |
| 2185 | printf("Reshaping\n"); |
| 2186 | |
| 2187 | ReshapeRender(g_window); |
| 2188 | |
| 2189 | if (!g_fluidRenderer || (width != g_screenWidth || height != g_screenHeight)) |
| 2190 | { |
| 2191 | if (g_fluidRenderer) |
| 2192 | DestroyFluidRenderer(g_fluidRenderer); |
| 2193 | g_fluidRenderer = CreateFluidRenderer(width, height); |
| 2194 | } |
| 2195 | |
| 2196 | g_screenWidth = width; |
| 2197 | g_screenHeight = height; |
| 2198 | } |
| 2199 | |
| 2200 | void InputArrowKeysDown(int key, int x, int y) |
| 2201 | { |
no test coverage detected