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

LibGL: Implement glShadeModel()

This turns off interpolation of vertex colors when GL_FLAT is selected.
This commit is contained in:
Stephan Unverwerth 2021-05-16 14:05:13 +02:00 committed by Andreas Kling
parent 26953c2be1
commit da57563c1c
7 changed files with 51 additions and 6 deletions

View file

@ -56,6 +56,7 @@ public:
virtual void gl_flush() override;
virtual void gl_finish() override;
virtual void gl_blend_func(GLenum src_factor, GLenum dst_factor) override;
virtual void gl_shade_model(GLenum mode) override;
virtual void present() override;