1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:28:11 +00:00

LibGL: Implement GL_STENCIL_TEST

Only the state is implemented; not the rasterization phase.
This commit is contained in:
Jelle Raaijmakers 2021-12-01 14:57:54 +01:00 committed by Andreas Kling
parent 11fea6b597
commit 729349ce78
3 changed files with 14 additions and 0 deletions

View file

@ -164,6 +164,8 @@ private:
GLenum m_alpha_test_func = GL_ALWAYS;
GLclampf m_alpha_test_ref_value = 0;
bool m_stencil_test_enabled { false };
GLenum m_current_read_buffer = GL_BACK;
GLenum m_current_draw_buffer = GL_BACK;