SDL: opengl: Fixed SDL_RENDERCMD_SETDRAWCOLOR code checking the wrong variable.

From 3abb21308341eaa3e706aa8a8d9f8973014a7220 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Wed, 25 Sep 2024 23:13:59 -0400
Subject: [PATCH] opengl: Fixed SDL_RENDERCMD_SETDRAWCOLOR code checking the
 wrong variable.

---
 src/render/opengl/SDL_render_gl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/render/opengl/SDL_render_gl.c b/src/render/opengl/SDL_render_gl.c
index cece6ae61c23e..6e8ea29ebfe41 100644
--- a/src/render/opengl/SDL_render_gl.c
+++ b/src/render/opengl/SDL_render_gl.c
@@ -1247,7 +1247,7 @@ static bool GL_RunCommandQueue(SDL_Renderer *renderer, SDL_RenderCommand *cmd, v
             const float g = cmd->data.color.color.g * cmd->data.color.color_scale;
             const float b = cmd->data.color.color.b * cmd->data.color.color_scale;
             const float a = cmd->data.color.color.a;
-            if (data->drawstate.clear_color_dirty ||
+            if (data->drawstate.color_dirty ||
                 (r != data->drawstate.color.r) ||
                 (g != data->drawstate.color.g) ||
                 (b != data->drawstate.color.b) ||