aboutsummaryrefslogtreecommitdiffstats
path: root/glfunc.h
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-05-02 21:22:03 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-05-02 21:22:03 +0100
commitb659c412263f6dd7df962f7d42f4f51b7c3d5609 (patch)
treee2495e0b1446527b909a9c9fa2776797c7c28221 /glfunc.h
parentec93a8eddf70adef2b1439a511d990021ad25d99 (diff)
downloadfaqe-b659c412263f6dd7df962f7d42f4f51b7c3d5609.tar.gz
faqe-b659c412263f6dd7df962f7d42f4f51b7c3d5609.tar.xz
faqe-b659c412263f6dd7df962f7d42f4f51b7c3d5609.zip
Implement diffuse texture loading and basic material support
Diffstat (limited to 'glfunc.h')
-rw-r--r--glfunc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/glfunc.h b/glfunc.h
index 6722567..a5c575e 100644
--- a/glfunc.h
+++ b/glfunc.h
@@ -46,3 +46,9 @@ GL_FUNC(glUniformMatrix4fv, void, gl_uni_setm4fv, GLint location, GLsizei count,
GL_FUNC(glGetIntegerv, void, gl_geti, GLenum pname, GLint *data)
GL_FUNC(glEnable, void, gl_enable, GLenum cap)
GL_FUNC(glDisable, void, gl_disable, GLenum cap)
+GL_FUNC(glGenTextures, void, gl_tex_gen, GLsizei n, GLuint *textures)
+GL_FUNC(glActiveTexture, void, gl_tex_active, GLenum texture)
+GL_FUNC(glBindTexture, void, gl_tex_bind, GLenum target, GLuint texture)
+GL_FUNC(glTexImage2D, void, gl_tex_img2d, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *data)
+GL_FUNC(glTexParameteri, void, gl_tex_parami, GLenum target, GLenum pname, GLint param)
+GL_FUNC(glGenerateMipmap, void, gl_tex_genmip, GLenum target)