summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formatquery.c
diff options
context:
space:
mode:
authorAntia Puentes <apuentes@igalia.com>2015-11-17 18:02:12 +0100
committerEduardo Lima Mitev <elima@igalia.com>2016-03-03 15:14:06 +0100
commitb5d27bc5ddb9f30153e02f4ae1096c8d6eda3df5 (patch)
treeff790cf0dbf32bc7eba7f8e3a65405b6d9251162 /src/mesa/main/formatquery.c
parent2453bba504ef2e88c5ab3737f159314572527a46 (diff)
downloadexternal_mesa3d-b5d27bc5ddb9f30153e02f4ae1096c8d6eda3df5.zip
external_mesa3d-b5d27bc5ddb9f30153e02f4ae1096c8d6eda3df5.tar.gz
external_mesa3d-b5d27bc5ddb9f30153e02f4ae1096c8d6eda3df5.tar.bz2
mesa/main: Added empty skeleton of glGetInternalformati64v
Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/main/formatquery.c')
-rw-r--r--src/mesa/main/formatquery.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mesa/main/formatquery.c b/src/mesa/main/formatquery.c
index 1c6be11..0b19bc7 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");
+}