1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:47:45 +00:00

LibGL: Implement glDepthRange

This commit is contained in:
Stephan Unverwerth 2021-08-16 17:52:12 +02:00 committed by Andreas Kling
parent 3dd9efd35f
commit a97dbd2317
7 changed files with 26 additions and 1 deletions

View file

@ -29,6 +29,8 @@ struct RasterizerOptions {
GLenum blend_source_factor { GL_ONE };
GLenum blend_destination_factor { GL_ONE };
u32 color_mask { 0xffffffff };
float depth_min { 0 };
float depth_max { 1 };
};
class SoftwareRasterizer final {