Video: enabled accelerated rendering with texture target access
This commit is contained in:
parent
e558044855
commit
1a24fd5872
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue