From 8c63f47b8ac8ab63cc36f765c7c0c55c01fcd62b Mon Sep 17 00:00:00 2001 From: bjorn Date: Thu, 23 Jun 2022 17:07:39 -0700 Subject: [PATCH] Fix default shader switching; --- src/modules/graphics/graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/graphics.c b/src/modules/graphics/graphics.c index 5e7449bc..04dd8564 100644 --- a/src/modules/graphics/graphics.c +++ b/src/modules/graphics/graphics.c @@ -2447,7 +2447,7 @@ static void flushPipeline(Pass* pass, Draw* draw, Shader* shader) { pipeline->dirty = true; } - if (!pipeline->info.shader && pipeline->info.shader != shader->gpu) { + if (!pipeline->shader && pipeline->info.shader != shader->gpu) { pipeline->info.shader = shader->gpu; pipeline->info.flags = NULL; pipeline->info.flagCount = 0;