mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
LibGL: Implement glTexParameter{i,f}
This currently only implements a subset of this function. Namely setting wrap, mag and min modes for the GL_TETXURE_2D target.
This commit is contained in:
parent
e0fef60241
commit
b9523e15df
6 changed files with 95 additions and 2 deletions
|
@ -36,3 +36,13 @@ void glActiveTexture(GLenum texture)
|
|||
{
|
||||
g_gl_context->gl_active_texture(texture);
|
||||
}
|
||||
|
||||
void glTexParameteri(GLenum target, GLenum pname, GLint param)
|
||||
{
|
||||
g_gl_context->gl_tex_parameter(target, pname, param);
|
||||
}
|
||||
|
||||
void glTexParameterf(GLenum target, GLenum pname, GLfloat param)
|
||||
{
|
||||
g_gl_context->gl_tex_parameter(target, pname, param);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue