- fixed portal benchmarking and added separate output for 2D and finishing the main scene.
This commit is contained in:
parent
8a6ae503be
commit
8f96729e06
6 changed files with 53 additions and 22 deletions
|
|
@ -149,8 +149,13 @@ void OpenGLFrameBuffer::InitializeState()
|
|||
|
||||
void OpenGLFrameBuffer::Update()
|
||||
{
|
||||
twoD.Reset();
|
||||
Flush3D.Reset();
|
||||
|
||||
DrawRateStuff();
|
||||
Flush3D.Clock();
|
||||
GLRenderer->Flush();
|
||||
Flush3D.Unclock();
|
||||
|
||||
Swap();
|
||||
CheckBench();
|
||||
|
|
@ -244,7 +249,7 @@ uint32_t OpenGLFrameBuffer::GetCaps()
|
|||
// legacy mode always has truecolor because palette tonemap is not available
|
||||
FlagSet |= RFF_TRUECOLOR;
|
||||
}
|
||||
else if (!(FGLRenderBuffers::IsEnabled()))
|
||||
else if (!RenderBuffersEnabled())
|
||||
{
|
||||
// truecolor is always available when renderbuffers are unavailable because palette tonemap is not possible
|
||||
FlagSet |= RFF_TRUECOLOR | RFF_MATSHADER | RFF_BRIGHTMAP;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue