LibGL: Implement glDepthFunc

This commit is contained in:
Stephan Unverwerth 2021-08-16 17:59:45 +02:00 committed by Andreas Kling
commit 5b9c87a8b5
Notes: sideshowbarker 2024-07-18 05:30:34 +09:00
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 {