summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-07-21 11:50:56 +0200
committerSamuel Pitoiset <[email protected]>2017-08-02 12:54:31 +0200
commitc8191213b5572a1e00d6c1da5fcf73aa3b304f02 (patch)
treed7e4292d20e1371d6bfbb69cbcbc7f37acffdf7d /src/mesa/main/teximage.h
parent1722c2498ff8c403c1f47a31f0ee2a036310b59b (diff)
mesa: make get_texbuffer_format() global
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r--src/mesa/main/teximage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index 42c34489cfd..e988e263a97 100644
--- a/src/mesa/main/teximage.h
+++ b/src/mesa/main/teximage.h
@@ -157,6 +157,8 @@ extern struct gl_texture_image *
_mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj,
GLenum target, GLint level);
+mesa_format
+_mesa_get_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat);
/**
* Return the base-level texture image for the given texture object.