From b5d27bc5ddb9f30153e02f4ae1096c8d6eda3df5 Mon Sep 17 00:00:00 2001 From: Antia Puentes Date: Tue, 17 Nov 2015 18:02:12 +0100 Subject: mesa/main: Added empty skeleton of glGetInternalformati64v Reviewed-by: Dave Airlie --- src/mesa/main/formatquery.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/mesa/main/formatquery.c') 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"); +} -- cgit v1.2.3