mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-26 15:02:46 +00:00
import from UXP: Issue #3083 - Fix incorrect nullcheck. (d8aab0e8)
This commit is contained in:
@@ -957,7 +957,7 @@ bool State::removeReadFramebufferBinding(GLuint framebuffer)
|
||||
|
||||
bool State::removeDrawFramebufferBinding(GLuint framebuffer)
|
||||
{
|
||||
if (mReadFramebuffer != nullptr &&
|
||||
if (mDrawFramebuffer != nullptr &&
|
||||
mDrawFramebuffer->id() == framebuffer)
|
||||
{
|
||||
setDrawFramebufferBinding(nullptr);
|
||||
|
||||
Reference in New Issue
Block a user