mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
- backend update from Raze.
This commit is contained in:
parent
a1d0d27278
commit
79c9b979d2
9 changed files with 6 additions and 9 deletions
|
@ -325,3 +325,5 @@ public:
|
||||||
CleanHeight = savedheight;
|
CleanHeight = savedheight;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void Draw2D(F2DDrawer* drawer, FRenderState& state);
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU General Public License as published by
|
// it under the terms of the GNU General Public License as published by
|
||||||
// the Free Software Foundation, either version 3 of the License, or
|
// the Free Software Foundation, either version 2 of the License, or
|
||||||
// (at your option) any later version.
|
// (at your option) any later version.
|
||||||
//
|
//
|
||||||
// This program is distributed in the hope that it will be useful,
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
|
|
@ -69,7 +69,6 @@ EXTERN_CVAR(Int, gl_pipeline_depth);
|
||||||
|
|
||||||
void gl_LoadExtensions();
|
void gl_LoadExtensions();
|
||||||
void gl_PrintStartupLog();
|
void gl_PrintStartupLog();
|
||||||
void Draw2D(F2DDrawer *drawer, FRenderState &state);
|
|
||||||
|
|
||||||
extern bool vid_hdr_active;
|
extern bool vid_hdr_active;
|
||||||
|
|
||||||
|
|
|
@ -67,8 +67,6 @@ EXTERN_CVAR(Int, gl_pipeline_depth);
|
||||||
|
|
||||||
EXTERN_CVAR(Bool, gl_sort_textures);
|
EXTERN_CVAR(Bool, gl_sort_textures);
|
||||||
|
|
||||||
void Draw2D(F2DDrawer *drawer, FRenderState &state);
|
|
||||||
|
|
||||||
extern bool vid_hdr_active;
|
extern bool vid_hdr_active;
|
||||||
|
|
||||||
namespace OpenGLESRenderer
|
namespace OpenGLESRenderer
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#include "printf.h"
|
#include "printf.h"
|
||||||
|
|
||||||
|
|
||||||
CUSTOM_CVAR(Int, gl_fogmode, 1, CVAR_ARCHIVE | CVAR_NOINITCALL)
|
CUSTOM_CVAR(Int, gl_fogmode, 2, CVAR_ARCHIVE | CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
if (self > 2) self = 2;
|
if (self > 2) self = 2;
|
||||||
if (self < 0) self = 0;
|
if (self < 0) self = 0;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
// This program is free software: you can redistribute it and/or modify
|
// This program is free software: you can redistribute it and/or modify
|
||||||
// it under the terms of the GNU Lesser General Public License as published by
|
// it under the terms of the GNU Lesser General Public License as published by
|
||||||
// the Free Software Foundation, either version 3 of the License, or
|
// the Free Software Foundation, either version 2 of the License, or
|
||||||
// (at your option) any later version.
|
// (at your option) any later version.
|
||||||
//
|
//
|
||||||
// This program is distributed in the hope that it will be useful,
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
|
|
@ -121,7 +121,6 @@ CUSTOM_CVAR(Int, vid_preferbackend, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_N
|
||||||
Printf("Changing the video backend requires a restart for " GAMENAME ".\n");
|
Printf("Changing the video backend requires a restart for " GAMENAME ".\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
CVAR(Int, vid_renderer, 1, 0) // for some stupid mods which threw caution out of the window...
|
|
||||||
|
|
||||||
CUSTOM_CVAR(Int, uiscale, 0, CVAR_ARCHIVE | CVAR_NOINITCALL)
|
CUSTOM_CVAR(Int, uiscale, 0, CVAR_ARCHIVE | CVAR_NOINITCALL)
|
||||||
{
|
{
|
||||||
|
|
|
@ -57,8 +57,6 @@
|
||||||
#include "engineerrors.h"
|
#include "engineerrors.h"
|
||||||
#include "c_dispatch.h"
|
#include "c_dispatch.h"
|
||||||
|
|
||||||
void Draw2D(F2DDrawer *drawer, FRenderState &state);
|
|
||||||
|
|
||||||
EXTERN_CVAR(Bool, r_drawvoxels)
|
EXTERN_CVAR(Bool, r_drawvoxels)
|
||||||
EXTERN_CVAR(Int, gl_tonemap)
|
EXTERN_CVAR(Int, gl_tonemap)
|
||||||
EXTERN_CVAR(Int, screenblocks)
|
EXTERN_CVAR(Int, screenblocks)
|
||||||
|
|
|
@ -128,6 +128,7 @@ EXTERN_CVAR(Int, vr_mode)
|
||||||
EXTERN_CVAR(Bool, cl_customizeinvulmap)
|
EXTERN_CVAR(Bool, cl_customizeinvulmap)
|
||||||
EXTERN_CVAR(Bool, log_vgafont)
|
EXTERN_CVAR(Bool, log_vgafont)
|
||||||
EXTERN_CVAR(Bool, dlg_vgafont)
|
EXTERN_CVAR(Bool, dlg_vgafont)
|
||||||
|
CVAR(Int, vid_renderer, 1, 0) // for some stupid mods which threw caution out of the window...
|
||||||
|
|
||||||
void DrawHUD();
|
void DrawHUD();
|
||||||
void D_DoAnonStats();
|
void D_DoAnonStats();
|
||||||
|
|
Loading…
Reference in a new issue