mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
- Show current renderer on startup. This is for diagnostic purposes when we ask people for their startup logs so we know what key settings are being used when there is a problem.
This commit is contained in:
parent
9cf9cc1318
commit
16fded31e1
1 changed files with 10 additions and 0 deletions
|
@ -170,6 +170,16 @@ void I_CreateRenderer()
|
|||
{
|
||||
currentrenderer = vid_renderer;
|
||||
currentcanvas = vid_used3d;
|
||||
if (currentrenderer == 1)
|
||||
Printf("Renderer: OpenGL\n");
|
||||
else if (currentcanvas == 0)
|
||||
Printf("Renderer: Software on OpenGL\n");
|
||||
else if (currentcanvas == 1 && vid_forceddraw == false)
|
||||
Printf("Renderer: Software on Direct3D\n");
|
||||
else if (currentcanvas == 1)
|
||||
Printf("Renderer: Software on DirectDraw\n");
|
||||
else
|
||||
Printf("Renderer: Unknown\n");
|
||||
if (Renderer == NULL)
|
||||
{
|
||||
if (currentrenderer==1) Renderer = gl_CreateInterface();
|
||||
|
|
Loading…
Reference in a new issue