Skip to content

Commit

Permalink
Video: enabled accelerated rendering with texture target access
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jun 19, 2017
1 parent 5866434 commit 9e34ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video.cpp
Expand Up @@ -226,7 +226,7 @@ void CVideo::init_window()
}

// Initialize window
window.reset(new sdl::window("", x, y, w, h, video_flags, SDL_RENDERER_SOFTWARE));
window.reset(new sdl::window("", x, y, w, h, video_flags, SDL_RENDERER_ACCELERATED | SDL_RENDERER_TARGETTEXTURE));

std::cerr << "Setting mode to " << w << "x" << h << std::endl;

Expand Down

0 comments on commit 9e34ddd

Please sign in to comment.