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>
This commit is contained in:
Laura Ekstrand
2015-02-27 14:54:00 -08:00
parent 311b3686fe
commit 1e552db522
4 changed files with 59 additions and 0 deletions
@@ -21,6 +21,14 @@
<param name="buffer" type="GLuint" />
</function>
<function name="TextureBufferRange" offset="assign">
<param name="texture" type="GLuint" />
<param name="internalformat" type="GLenum" />
<param name="buffer" type="GLuint" />
<param name="offset" type="GLintptr" />
<param name="size" type="GLsizeiptr" />
</function>
<function name="TextureStorage1D" offset="assign">
<param name="texture" type="GLuint" />
<param name="levels" type="GLsizei" />