diff --git a/src/core/gpu.h b/src/core/gpu.h index 1282ecc8b..eec502891 100644 --- a/src/core/gpu.h +++ b/src/core/gpu.h @@ -239,7 +239,7 @@ protected: switch (primitive) { case Primitive::Polygon: - return shading_enable || !raw_texture_enable; + return shading_enable || (texture_enable && !raw_texture_enable); case Primitive::Line: return true;