From: Antia Puentes Date: Tue, 17 Nov 2015 17:02:12 +0000 (+0100) Subject: mesa/main: Added empty skeleton of glGetInternalformati64v X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5d27bc5ddb9f30153e02f4ae1096c8d6eda3df5;p=mesa.git mesa/main: Added empty skeleton of glGetInternalformati64v Reviewed-by: Dave Airlie --- diff --git a/src/mesa/main/formatquery.c b/src/mesa/main/formatquery.c index 1c6be11d724..0b19bc7da04 100644 --- a/src/mesa/main/formatquery.c +++ b/src/mesa/main/formatquery.c @@ -834,3 +834,19 @@ _mesa_GetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, return; } + +void GLAPIENTRY +_mesa_GetInternalformati64v(GLenum target, GLenum internalformat, + GLenum pname, GLsizei bufSize, GLint64 *params) +{ + GET_CURRENT_CONTEXT(ctx); + + ASSERT_OUTSIDE_BEGIN_END(ctx); + + if (!_mesa_has_ARB_internalformat_query2(ctx)) { + _mesa_error(ctx, GL_INVALID_OPERATION, "glGetInternalformati64v"); + return; + } + + _mesa_debug(ctx, "glGetInternalformati64v() not implemented"); +} diff --git a/src/mesa/main/formatquery.h b/src/mesa/main/formatquery.h index b42299e3128..1061fd26753 100644 --- a/src/mesa/main/formatquery.h +++ b/src/mesa/main/formatquery.h @@ -41,4 +41,8 @@ extern void GLAPIENTRY _mesa_GetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +extern void GLAPIENTRY +_mesa_GetInternalformati64v(GLenum target, GLenum internalformat, + GLenum pname, GLsizei bufSize, GLint64 *params); + #endif /* FORMATQUERY_H */