mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +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:
parent
d922c2f5f3
commit
a8fc4be47a
6 changed files with 57 additions and 4 deletions
|
@ -21,6 +21,7 @@ public:
|
|||
virtual void gl_begin(GLenum mode) = 0;
|
||||
virtual void gl_clear(GLbitfield mask) = 0;
|
||||
virtual void gl_clear_color(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) = 0;
|
||||
virtual void gl_clear_depth(GLdouble depth) = 0;
|
||||
virtual void gl_color(GLdouble r, GLdouble g, GLdouble b, GLdouble a) = 0;
|
||||
virtual void gl_end() = 0;
|
||||
virtual void gl_frustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue