Sanitized the Being/End2D interface so that it can be used to keep the attribute buffer mapped while processing 2D commands.
For this to work the 2D mode has to be properly set and unset at the right places so that no double mapping occurs and no render operation can happen while in 2D mode. # Conflicts: # src/d_main.cpp # src/v_video.h
This commit is contained in:
parent
2d1043d1d3
commit
ecf6e3f620
4 changed files with 102 additions and 108 deletions
|
|
@ -151,7 +151,6 @@ void OpenGLFrameBuffer::Update()
|
|||
twoD.Reset();
|
||||
Flush3D.Reset();
|
||||
|
||||
DrawRateStuff();
|
||||
Flush3D.Clock();
|
||||
GLRenderer->Flush();
|
||||
Flush3D.Unclock();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue