mesa: add const qualifer on _mesa_is_compressed_format()
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
@@ -1200,7 +1200,7 @@ _mesa_is_depth_or_stencil_format(GLenum format)
|
||||
* \return GL_TRUE if compressed, GL_FALSE if uncompressed
|
||||
*/
|
||||
GLboolean
|
||||
_mesa_is_compressed_format(struct gl_context *ctx, GLenum format)
|
||||
_mesa_is_compressed_format(const struct gl_context *ctx, GLenum format)
|
||||
{
|
||||
switch (format) {
|
||||
case GL_COMPRESSED_RGB_S3TC_DXT1_EXT:
|
||||
|
||||
@@ -96,7 +96,7 @@ extern GLboolean
|
||||
_mesa_is_depth_or_stencil_format(GLenum format);
|
||||
|
||||
extern GLboolean
|
||||
_mesa_is_compressed_format(struct gl_context *ctx, GLenum format);
|
||||
_mesa_is_compressed_format(const struct gl_context *ctx, GLenum format);
|
||||
|
||||
extern GLenum
|
||||
_mesa_base_format_to_integer_format(GLenum format);
|
||||
|
||||
Reference in New Issue
Block a user