mesa: make get_texbuffer_format() global
[mesa.git] / src / mesa / main / teximage.h
index 42c34489cfdb695b936c3e15ec38b58991248450..e988e263a97b01c35f67a9f9e3309f951a063d86 100644 (file)
@@ -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.