LibGL+LibSoftGPU: Implement GL_POLYGON_OFFSET_FILL capability

This commit is contained in:
Jelle Raaijmakers 2022-01-19 22:49:52 +01:00 committed by Andreas Kling
commit 453f62c935
Notes: sideshowbarker 2024-07-17 20:35:35 +09:00
4 changed files with 17 additions and 2 deletions

View file

@ -66,6 +66,7 @@ struct RasterizerOptions {
bool enable_color_write { true };
float depth_offset_factor { 0 };
float depth_offset_constant { 0 };
bool depth_offset_enabled { false };
bool enable_culling { false };
WindingOrder front_face { WindingOrder::CounterClockwise };
bool cull_back { true };