X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fglformats.h;h=e1ecd64d5f9b439381f24e95ddd3e31ab549e3e7;hb=c4925d7f3b66d63fbdd7b7607cd809db1e58bee9;hp=584909bfa45eb4e3e03e5e985e5a516e5594fbf8;hpb=1aaed753301a4c0d39173616088db66231e7298d;p=mesa.git diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h index 584909bfa45..e1ecd64d5f9 100644 --- a/src/mesa/main/glformats.h +++ b/src/mesa/main/glformats.h @@ -125,9 +125,12 @@ _mesa_es_error_check_format_and_type(GLenum format, GLenum type, unsigned dimensions); extern GLenum -_mesa_es3_error_check_format_and_type(GLenum format, GLenum type, +_mesa_es3_error_check_format_and_type(const struct gl_context *ctx, + GLenum format, GLenum type, GLenum internalFormat); +extern uint32_t +_mesa_format_from_format_and_type(GLenum format, GLenum type); #ifdef __cplusplus }