Video: enabled accelerated rendering with texture target access

This commit is contained in:
Charles Dang 2017-05-30 23:19:56 +11:00
parent e558044855
commit 1a24fd5872

View file

@ -240,7 +240,7 @@ void CVideo::init_window()
}
// Initialize window
window.reset(new sdl::window("", x, y, w, h, window_flags, SDL_RENDERER_SOFTWARE));
window.reset(new sdl::window("", x, y, w, h, window_flags, SDL_RENDERER_ACCELERATED | SDL_RENDERER_TARGETTEXTURE));
std::cerr << "Setting mode to " << w << "x" << h << std::endl;