mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Revert "- let gl_draw_sync default to false."
This reverts commit 616f84209b
.
Now I remember why this is not active: This is causing some problems with interpolated plane heights. Since there is no synchronization with the vertex buffer, the next frame will reset all plane coordinates before the GPU can use them. This will require some rethinking about when to update the buffer - it cannot be done in the render data setup loop.
This commit is contained in:
parent
03b31796cc
commit
52e19c59b3
1 changed files with 2 additions and 1 deletions
|
@ -164,7 +164,8 @@ void OpenGLFrameBuffer::InitializeState()
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
CVAR(Bool, gl_draw_sync, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
||||
// Testing only for now.
|
||||
CVAR(Bool, gl_draw_sync, true, 0) //false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
||||
|
||||
void OpenGLFrameBuffer::Update()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue