mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:27:35 +00:00
LibGL: Convert stencil front/back function and operation to Array
s
This commit is contained in:
parent
3609ffc450
commit
6386671944
2 changed files with 6 additions and 8 deletions
|
@ -231,16 +231,14 @@ private:
|
|||
GLint reference_value { 0 };
|
||||
GLuint mask { NumericLimits<GLuint>::max() };
|
||||
};
|
||||
StencilFunctionOptions m_stencil_backfacing_func;
|
||||
StencilFunctionOptions m_stencil_frontfacing_func;
|
||||
Array<StencilFunctionOptions, 2u> m_stencil_function;
|
||||
|
||||
struct StencilOperationOptions {
|
||||
GLenum op_fail { GL_KEEP };
|
||||
GLenum op_depth_fail { GL_KEEP };
|
||||
GLenum op_pass { GL_KEEP };
|
||||
};
|
||||
StencilOperationOptions m_stencil_backfacing_op;
|
||||
StencilOperationOptions m_stencil_frontfacing_op;
|
||||
Array<StencilOperationOptions, 2u> m_stencil_operation;
|
||||
|
||||
GLenum m_current_read_buffer = GL_BACK;
|
||||
GLenum m_current_draw_buffer = GL_BACK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue