mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:27:35 +00:00
LibGL: Add stubs for glMaterialf
and glMaterialfv
This commit is contained in:
parent
4eb6295a57
commit
9dbc8d7e3c
5 changed files with 66 additions and 1 deletions
|
@ -106,6 +106,7 @@ public:
|
|||
virtual void gl_stencil_op_separate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) override;
|
||||
virtual void gl_normal(GLfloat nx, GLfloat ny, GLfloat nz) override;
|
||||
virtual void gl_raster_pos(GLfloat x, GLfloat y, GLfloat z, GLfloat w) override;
|
||||
virtual void gl_materialv(GLenum face, GLenum pname, GLfloat const* params) override;
|
||||
virtual void present() override;
|
||||
|
||||
private:
|
||||
|
@ -271,7 +272,8 @@ private:
|
|||
decltype(&SoftwareGLContext::gl_stencil_func_separate),
|
||||
decltype(&SoftwareGLContext::gl_stencil_op_separate),
|
||||
decltype(&SoftwareGLContext::gl_normal),
|
||||
decltype(&SoftwareGLContext::gl_raster_pos)>;
|
||||
decltype(&SoftwareGLContext::gl_raster_pos),
|
||||
decltype(&SoftwareGLContext::gl_materialv)>;
|
||||
|
||||
using ExtraSavedArguments = Variant<
|
||||
FloatMatrix4x4>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue