It's now legal to set an empty viewport rect - it will prevent any rendering. Also added an API to query the output size: SDL_GetRendererOutputSize() |
||
---|---|---|
.. | ||
SDL_glfuncs.h | ||
SDL_render_gl.c | ||
SDL_shaders_gl.c | ||
SDL_shaders_gl.h |
It's now legal to set an empty viewport rect - it will prevent any rendering. Also added an API to query the output size: SDL_GetRendererOutputSize() |
||
---|---|---|
.. | ||
SDL_glfuncs.h | ||
SDL_render_gl.c | ||
SDL_shaders_gl.c | ||
SDL_shaders_gl.h |