1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

LibGL: Implement glDepthFunc

This commit is contained in:
Stephan Unverwerth 2021-08-16 17:59:45 +02:00 committed by Andreas Kling
parent a97dbd2317
commit 5b9c87a8b5
7 changed files with 60 additions and 2 deletions

View file

@ -31,6 +31,7 @@ struct RasterizerOptions {
u32 color_mask { 0xffffffff };
float depth_min { 0 };
float depth_max { 1 };
GLenum depth_func { GL_LESS };
};
class SoftwareRasterizer final {