mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 14:20:21 +00:00
LibGL: Add stubs for glPushAttrib
and glPopAttrib
This commit is contained in:
parent
fbed7a5ba8
commit
0453cad46c
Notes:
sideshowbarker
2024-07-17 22:51:11 +09:00
Author: https://github.com/gmta
Commit: 0453cad46c
Pull-request: https://github.com/SerenityOS/serenity/pull/11154
Reviewed-by: https://github.com/sunverwerth ✅
5 changed files with 37 additions and 1 deletions
|
@ -110,6 +110,8 @@ public:
|
|||
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 gl_line_width(GLfloat width) override;
|
||||
virtual void gl_push_attrib(GLbitfield mask) override;
|
||||
virtual void gl_pop_attrib() override;
|
||||
virtual void present() override;
|
||||
|
||||
private:
|
||||
|
@ -280,7 +282,9 @@ private:
|
|||
decltype(&SoftwareGLContext::gl_normal),
|
||||
decltype(&SoftwareGLContext::gl_raster_pos),
|
||||
decltype(&SoftwareGLContext::gl_materialv),
|
||||
decltype(&SoftwareGLContext::gl_line_width)>;
|
||||
decltype(&SoftwareGLContext::gl_line_width),
|
||||
decltype(&SoftwareGLContext::gl_push_attrib),
|
||||
decltype(&SoftwareGLContext::gl_pop_attrib)>;
|
||||
|
||||
using ExtraSavedArguments = Variant<
|
||||
FloatMatrix4x4>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue