mesa/main: Added empty skeleton of glGetInternalformati64v
authorAntia Puentes <apuentes@igalia.com>
Tue, 17 Nov 2015 17:02:12 +0000 (18:02 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:06 +0000 (15:14 +0100)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/formatquery.c
src/mesa/main/formatquery.h

index 1c6be11d7247a7f4b3d2eb31b37de269a7e6a109..0b19bc7da044133389a07aa986e94210f46f6175 100644 (file)
@@ -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");
+}
index b42299e3128f880acb8891c4f8b703a26d5471e7..1061fd2675326913375ddf713c9330db02fa2c31 100644 (file)
@@ -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 */