mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:17:36 +00:00
LibGL: Implement glShadeModel()
This turns off interpolation of vertex colors when GL_FLAT is selected.
This commit is contained in:
parent
26953c2be1
commit
da57563c1c
7 changed files with 51 additions and 6 deletions
|
@ -50,6 +50,7 @@ public:
|
|||
virtual void gl_flush() = 0;
|
||||
virtual void gl_finish() = 0;
|
||||
virtual void gl_blend_func(GLenum src_factor, GLenum dst_factor) = 0;
|
||||
virtual void gl_shade_model(GLenum mode) = 0;
|
||||
|
||||
virtual void present() = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue