summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texparam.h
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2014-12-10 16:33:18 -0800
committerLaura Ekstrand <laura@jlekstrand.net>2015-01-08 11:37:29 -0800
commitabc688e33a6a76223af63e5d34af87e3bbbd97cd (patch)
tree08c6340fc94813fbd649a797b5faf1242597d91c /src/mesa/main/texparam.h
parent5ad5393f3ba6d34a2fd3e0bf0cb50139c9817175 (diff)
downloadexternal_mesa3d-abc688e33a6a76223af63e5d34af87e3bbbd97cd.zip
external_mesa3d-abc688e33a6a76223af63e5d34af87e3bbbd97cd.tar.gz
external_mesa3d-abc688e33a6a76223af63e5d34af87e3bbbd97cd.tar.bz2
main: Added entry point for glTextureParameterf.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/main/texparam.h')
-rw-r--r--src/mesa/main/texparam.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mesa/main/texparam.h b/src/mesa/main/texparam.h
index 557a7bc..a5f7c4d 100644
--- a/src/mesa/main/texparam.h
+++ b/src/mesa/main/texparam.h
@@ -29,6 +29,23 @@
#include "main/glheader.h"
+/**
+ * \name Internal functions
+ */
+/*@{*/
+
+extern void
+_mesa_texture_parameterf(struct gl_context *ctx,
+ struct gl_texture_object *texObj,
+ GLenum pname, GLfloat param, bool dsa);
+
+/*@}*/
+
+/**
+ * \name API functions
+ */
+/*@{*/
+
extern void GLAPIENTRY
_mesa_GetTexLevelParameterfv( GLenum target, GLint level,
@@ -72,4 +89,7 @@ extern void GLAPIENTRY
_mesa_TexParameterIuiv(GLenum target, GLenum pname, const GLuint *params);
+extern void GLAPIENTRY
+_mesa_TextureParameterf(GLuint texture, GLenum pname, GLfloat param);
+
#endif /* TEXPARAM_H */