mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +00:00
LibSoftGPU: Remove simple OpenGL types from RasterizerConfig
Replace GLfloat and GLboolean types in RasterizerConfig with their c++ native equivalent.
This commit is contained in:
parent
d8c17c8838
commit
7d49015403
1 changed files with 7 additions and 12 deletions
|
@ -41,22 +41,17 @@ struct RasterizerOptions {
|
|||
float depth_max { 1 };
|
||||
GLenum depth_func { GL_LESS };
|
||||
GLenum polygon_mode { GL_FILL };
|
||||
FloatVector4 fog_color {
|
||||
0.0f,
|
||||
0.0f,
|
||||
0.0f,
|
||||
0.0f,
|
||||
};
|
||||
GLfloat fog_density { 1.0f };
|
||||
FloatVector4 fog_color { 0.0f, 0.0f, 0.0f, 0.0f };
|
||||
float fog_density { 1.0f };
|
||||
GLenum fog_mode { GL_EXP };
|
||||
GLboolean fog_enabled { false };
|
||||
GLfloat fog_start { 0.0f };
|
||||
GLfloat fog_end { 1.0f };
|
||||
bool fog_enabled { false };
|
||||
float fog_start { 0.0f };
|
||||
float fog_end { 1.0f };
|
||||
bool scissor_enabled { false };
|
||||
Gfx::IntRect scissor_box;
|
||||
GLenum draw_buffer { GL_BACK };
|
||||
GLfloat depth_offset_factor { 0 };
|
||||
GLfloat depth_offset_constant { 0 };
|
||||
float depth_offset_factor { 0 };
|
||||
float depth_offset_constant { 0 };
|
||||
bool enable_culling { false };
|
||||
GLenum front_face { GL_CCW };
|
||||
GLenum culled_sides { GL_BACK };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue