mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 02:01:31 +00:00
- 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:
parent
2bc1708870
commit
454f796b69
16 changed files with 127 additions and 165 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue