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:
parent
b67789acc5
commit
5ac814bb7b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user