- removed the old OpenGL interface.

This commit is contained in:
Christoph Oelckers 2020-06-12 00:25:52 +02:00
parent ba397f5ca1
commit 6a9f1e9da1
15 changed files with 9 additions and 1335 deletions

View file

@ -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;