mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
cogl-gles2: Add glTexParameterf to wrapper library
Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 06d6bdb73e3d2468cf3a8c355152cbdeb1b36d94)
This commit is contained in:
parent
66dd06dea9
commit
9a1f0c4098
@ -241,6 +241,13 @@ glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width,
|
||||
format, type, pixels);
|
||||
}
|
||||
|
||||
void
|
||||
glTexParameterf (GLenum target, GLenum pname, GLfloat param)
|
||||
{
|
||||
CoglGLES2Vtable *vtable = cogl_gles2_get_current_vtable ();
|
||||
vtable->glTexParameterf (target, pname, param);
|
||||
}
|
||||
|
||||
void
|
||||
glTexParameterfv (GLenum target, GLenum pname, const GLfloat * params)
|
||||
{
|
||||
|
@ -152,6 +152,8 @@ COGL_EXT_FUNCTION (void, glTexImage2D,
|
||||
GLenum format,
|
||||
GLenum type,
|
||||
const GLvoid* pixels))
|
||||
COGL_EXT_FUNCTION (void, glTexParameterf,
|
||||
(GLenum target, GLenum pname, GLfloat param))
|
||||
COGL_EXT_FUNCTION (void, glTexParameterfv,
|
||||
(GLenum target, GLenum pname, const GLfloat* params))
|
||||
COGL_EXT_FUNCTION (void, glTexParameteri,
|
||||
|
Loading…
Reference in New Issue
Block a user