mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 04:40:39 +02:00
mesa: add const qualifer on _mesa_is_compressed_format()
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
b787f48ed2
commit
09eabf5be6
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue