mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-21 19:03:11 -04:00
report SDL release and platform in verbose mode
This commit is contained in:
parent
48bcf43a82
commit
e896ac183b
@ -1744,7 +1744,12 @@ static void I_InitGraphicsMode(void)
|
||||
SDL_RendererInfo info;
|
||||
if (SDL_GetRendererInfo(renderer, &info) == 0)
|
||||
{
|
||||
I_Printf(VB_DEBUG, "SDL render driver: %s (%s)", info.name,
|
||||
SDL_version version;
|
||||
SDL_GetVersion(&version);
|
||||
I_Printf(VB_DEBUG, "SDL %d.%d.%d (%s) render driver: %s (%s)",
|
||||
version.major, version.minor, version.patch,
|
||||
SDL_GetPlatform(),
|
||||
info.name,
|
||||
SDL_GetCurrentVideoDriver());
|
||||
#ifdef _WIN32
|
||||
d3d_renderer = !strncmp(info.name, "direct3d", strlen(info.name));
|
||||
|
Loading…
x
Reference in New Issue
Block a user