summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-02-27 14:54:00 -0800
committerLaura Ekstrand <laura@jlekstrand.net>2015-03-09 13:33:54 -0700
commit1e552db5228e4e0acdef1d4bec4503f7116a2622 (patch)
tree0b7072afa136434e813711bb3a9f7a76fc613dde /src/mesa/main/teximage.h
parent311b3686fe7433b1624384f7d344cc23d6363df2 (diff)
downloadexternal_mesa3d-1e552db5228e4e0acdef1d4bec4503f7116a2622.zip
external_mesa3d-1e552db5228e4e0acdef1d4bec4503f7116a2622.tar.gz
external_mesa3d-1e552db5228e4e0acdef1d4bec4503f7116a2622.tar.bz2
main: Add entry point for TextureBufferRange.
v2: Review by Martin Peres - Get rid of difficult-to-follow code copied and pasted from the original TexBufferRange Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r--src/mesa/main/teximage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index db6b648..0ce4a30 100644
--- a/src/mesa/main/teximage.h
+++ b/src/mesa/main/teximage.h
@@ -409,6 +409,10 @@ _mesa_TexBufferRange(GLenum target, GLenum internalFormat, GLuint buffer,
extern void GLAPIENTRY
_mesa_TextureBuffer(GLuint texture, GLenum internalFormat, GLuint buffer);
+extern void GLAPIENTRY
+_mesa_TextureBufferRange(GLuint texture, GLenum internalFormat, GLuint buffer,
+ GLintptr offset, GLsizeiptr size);
+
extern void GLAPIENTRY
_mesa_TexImage2DMultisample(GLenum target, GLsizei samples,