diff options
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 7523b9fc981..04d0d6f911d 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -5169,8 +5169,8 @@ _mesa_CompressedTextureSubImage3D(GLuint texture, GLint level, GLint xoffset, "glCompressedTextureSubImage3D"); } -static mesa_format -get_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat) +mesa_format +_mesa_get_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat) { if (ctx->API == API_OPENGL_COMPAT) { switch (internalFormat) { @@ -5353,7 +5353,7 @@ mesa_format _mesa_validate_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat) { - mesa_format format = get_texbuffer_format(ctx, internalFormat); + mesa_format format = _mesa_get_texbuffer_format(ctx, internalFormat); GLenum datatype; if (format == MESA_FORMAT_NONE) |