1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Simplify OGLRender::_canDraw().

This commit is contained in:
Sergey Lipskiy 2015-09-29 23:32:31 +06:00
parent b67789acc5
commit 5ac814bb7b

View File

@ -719,9 +719,7 @@ void OGLRender::_prepareDrawTriangle(bool _dma)
bool OGLRender::_canDraw() const
{
if (config.frameBufferEmulation.enable == 0)
return true;
return frameBufferList().getCurrent() != NULL;
return config.frameBufferEmulation.enable == 0 || frameBufferList().getCurrent() != NULL;
}
void OGLRender::drawLLETriangle(u32 _numVtx)