- collect all 3D geometry in a list so that it can be rendered later.

With this out of the way the renderer can now be switched to the core profile.
This commit is contained in:
Christoph Oelckers 2020-01-18 22:41:08 +01:00
parent 2bc1708870
commit 454f796b69
16 changed files with 127 additions and 165 deletions

View file

@ -46,6 +46,7 @@
#include "i_time.h"
#include "v_2ddrawer.h"
#include "build.h"
#include "../glbackend/glbackend.h"
/*
#include "hwrenderer/scene/hw_portal.h"
#include "hwrenderer/utility/hw_clock.h"
@ -390,5 +391,8 @@ void DFrameBuffer::FinishScene()
if (videoGetRenderMode() < REND_POLYMOST) return;
assert(BufferLock > 0);
if (--BufferLock == 0)
{
mVertexData->Unmap();
GLInterface.DoDraw();
}
}