mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:07:46 +00:00
LibSoftGPU: Remove OpenGL type for culled side selection
Replaces the GLenum in RasterizerConfig, that selects the triangle sides to be culled, with two booleans.
This commit is contained in:
parent
24c76741e8
commit
1904be0370
3 changed files with 6 additions and 4 deletions
|
@ -84,7 +84,8 @@ struct RasterizerOptions {
|
|||
float depth_offset_constant { 0 };
|
||||
bool enable_culling { false };
|
||||
WindingOrder front_face { WindingOrder::CounterClockwise };
|
||||
GLenum culled_sides { GL_BACK };
|
||||
bool cull_back { true };
|
||||
bool cull_front { false };
|
||||
};
|
||||
|
||||
inline static constexpr size_t const num_samplers = 32;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue