// Cannot currently find a way to do this with SDL2
//const SDL_VideoInfo *info = SDL_GetVideoInfo();
//log_info << "Hardware surfaces are " << (info->hw_available ? "" : "not ") << "available." << std::endl;
// Cannot currently find a way to do this with SDL2
//const SDL_VideoInfo *info = SDL_GetVideoInfo();
//log_info << "Hardware surfaces are " << (info->hw_available ? "" : "not ") << "available." << std::endl;
//log_info << "Software to hardware blits with colorkey are " << (info->blit_sw_CC ? "" : "not ") << "accelerated." << std::endl;
//log_info << "Software to hardware blits with alpha are " << (info->blit_sw_A ? "" : "not ") << "accelerated." << std::endl;
//log_info << "Color fills are " << (info->blit_fill ? "" : "not ") << "accelerated." << std::endl;
//log_info << "Software to hardware blits with colorkey are " << (info->blit_sw_CC ? "" : "not ") << "accelerated." << std::endl;
//log_info << "Software to hardware blits with alpha are " << (info->blit_sw_A ? "" : "not ") << "accelerated." << std::endl;
//log_info << "Color fills are " << (info->blit_fill ? "" : "not ") << "accelerated." << std::endl;
int ret = SDL_CreateWindowAndRenderer(width, height, flags,
&window, &renderer);
int ret = SDL_CreateWindowAndRenderer(width, height, flags,
&window, &renderer);