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