mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibGL: Implement glTexEnvf
This controls how fetched texels are combined with the color that was produced by a preceding texture unit or with the vertex color if it is the first texture unit. Currently only a small subset of possible combine modes is implemented as required by glquake.
This commit is contained in:
parent
19a08ff187
commit
b54573739c
7 changed files with 66 additions and 7 deletions
|
@ -70,6 +70,7 @@ public:
|
|||
virtual void gl_tex_image_2d(GLenum target, GLint level, GLint internal_format, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* data) override;
|
||||
virtual void gl_tex_parameter(GLenum target, GLenum pname, GLfloat param) override;
|
||||
virtual void gl_tex_coord(GLfloat s, GLfloat t, GLfloat r, GLfloat q) override;
|
||||
virtual void gl_tex_env(GLenum target, GLenum pname, GLfloat param) override;
|
||||
virtual void gl_bind_texture(GLenum target, GLuint texture) override;
|
||||
virtual void gl_active_texture(GLenum texture) override;
|
||||
virtual void gl_get_floatv(GLenum pname, GLfloat* params) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue