Fix default shader switching;

This commit is contained in:
bjorn 2022-06-23 17:07:39 -07:00
parent 173c9a258e
commit 8c63f47b8a
1 changed files with 1 additions and 1 deletions

View File

@ -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;