mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- removed the old OpenGL interface.
This commit is contained in:
parent
ba397f5ca1
commit
6a9f1e9da1
15 changed files with 9 additions and 1335 deletions
|
@ -96,17 +96,8 @@ public:
|
|||
|
||||
CVAR(Bool, gl_aalines, false, CVAR_ARCHIVE)
|
||||
|
||||
EXTERN_CVAR(Bool, hw_use_backend);
|
||||
#include "glbackend/glbackend.h"
|
||||
|
||||
void Draw2D(F2DDrawer *drawer, FRenderState &state)
|
||||
{
|
||||
// This is still needed for testing until things are working.
|
||||
if (!hw_use_backend)
|
||||
{
|
||||
GLInterface.Draw2D(drawer);
|
||||
return;
|
||||
}
|
||||
twoD.Clock();
|
||||
|
||||
const auto &mScreenViewport = screen->mScreenViewport;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue