Issue #3083 - Fix incorrect nullcheck.

This commit is contained in:
Moonchild committed 2026-05-07 19:39:04 +02:00
1 parent 865d547992
commit bd3ea8d98d
1 file changed
+1 -1
+1 -1
View File
@@ -940,7 +940,7 @@ bool State::removeReadFramebufferBinding(GLuint framebuffer)
bool State::removeDrawFramebufferBinding(GLuint framebuffer)
{
if (mReadFramebuffer != nullptr &&
if (mDrawFramebuffer != nullptr &&
mDrawFramebuffer->id() == framebuffer)
{
setDrawFramebufferBinding(nullptr);