Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDL/Window: throw exception if render-to-texture is not enabled
NOTE: for some reason, if I remove the `SDL_RENDERER_TARGETTEXTURE` flag from sdl::window's ctor render_flags argument, this assertion still doesn't throw. Not sure if that means by GPU supports it by default, or what.
- Loading branch information