import from UXP: Issue #3083 - Fix incorrect nullcheck. (d8aab0e8)

This commit is contained in:
2026-05-08 07:03:29 +08:00
parent 2f812c59dc
commit 0d803ab16d
+1 -1
View File
@@ -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);