mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
LibGL: Implement glDepthFunc
This commit is contained in:
parent
a97dbd2317
commit
5b9c87a8b5
Notes:
sideshowbarker
2024-07-18 05:30:34 +09:00
Author: https://github.com/sunverwerth
Commit: 5b9c87a8b5
Pull-request: https://github.com/SerenityOS/serenity/pull/9451
Reviewed-by: https://github.com/Quaker762 ✅
Reviewed-by: https://github.com/alimpfard
7 changed files with 60 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue