From d89476ad26e75d27e99baf720559ae96f20df4b6 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 23 May 2026 14:40:20 +1000 Subject: [PATCH] GPU: Fix incorrect bitmask for command primitives --- src/core/gpu_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gpu_types.h b/src/core/gpu_types.h index 7a82a930e..32cb89929 100644 --- a/src/core/gpu_types.h +++ b/src/core/gpu_types.h @@ -131,7 +131,7 @@ union GPURenderCommand BitField quad_polygon; // only for polygons BitField polyline; // only for lines BitField shading_enable; // 0 - flat, 1 = gouraud - BitField primitive; + BitField primitive; /// Returns true if texturing should be enabled. Depends on the primitive type. ALWAYS_INLINE bool IsTexturingEnabled() const { return (primitive != GPUPrimitive::Line) ? texture_enable : false; }