mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-03 08:52:59 +00:00
Merge pull request #4 from milasudril/master
Fixed #2. Use vid_renderer as initial value for currentrenderer
This commit is contained in:
commit
b91d7e0663
1 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ void I_InitGraphics ()
|
|||
val.Bool = !!Args->CheckParm ("-devparm");
|
||||
ticker.SetGenericRepDefault (val, CVAR_Bool);
|
||||
|
||||
//currentrenderer = vid_renderer;
|
||||
currentrenderer = vid_renderer;
|
||||
if (currentrenderer==1) Video = new SDLGLVideo(0);
|
||||
else Video = new SDLVideo (0);
|
||||
|
||||
|
@ -130,7 +130,7 @@ static void I_DeleteRenderer()
|
|||
|
||||
void I_CreateRenderer()
|
||||
{
|
||||
//currentrenderer = vid_renderer;
|
||||
currentrenderer = vid_renderer;
|
||||
if (Renderer == NULL)
|
||||
{
|
||||
Renderer = gl_CreateInterface();
|
||||
|
|
Loading…
Reference in a new issue