1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:27:45 +00:00

LibGL: Implement glHint()

This commit is contained in:
Stephan Unverwerth 2021-05-20 23:20:23 +02:00 committed by Andreas Kling
parent 2a16c8bdb8
commit eed0bcaf42
5 changed files with 55 additions and 3 deletions

View file

@ -58,6 +58,7 @@ public:
virtual void gl_blend_func(GLenum src_factor, GLenum dst_factor) override;
virtual void gl_shade_model(GLenum mode) override;
virtual void gl_alpha_func(GLenum func, GLclampf ref) override;
virtual void gl_hint(GLenum target, GLenum mode) override;
virtual void present() override;
@ -170,7 +171,8 @@ private:
decltype(&SoftwareGLContext::gl_call_list),
decltype(&SoftwareGLContext::gl_blend_func),
decltype(&SoftwareGLContext::gl_shade_model),
decltype(&SoftwareGLContext::gl_alpha_func)>;
decltype(&SoftwareGLContext::gl_alpha_func),
decltype(&SoftwareGLContext::gl_hint)>;
using ExtraSavedArguments = Variant<
FloatMatrix4x4>;