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

LibGL: Add supporting code for depth buffer

This adds glClearDepth() and new caps for enabling and disabling
the depth buffer with glEnable() and glDisable()
This commit is contained in:
Stephan Unverwerth 2021-05-06 23:17:35 +02:00 committed by Andreas Kling
parent d922c2f5f3
commit a8fc4be47a
6 changed files with 57 additions and 4 deletions

View file

@ -14,6 +14,7 @@ namespace GL {
struct RasterizerOptions {
bool shade_smooth { false };
bool enable_depth_test { false };
};
class SoftwareRasterizer final {