[Mesa-dev] [PATCH 17/65] mesa/main: Added empty skeleton of glGetInternalformati64v
Eduardo Lima Mitev
elima at igalia.com
Wed Feb 3 15:45:02 UTC 2016
From: Antia Puentes <apuentes at igalia.com>
---
src/mesa/main/formatquery.c | 16 ++++++++++++++++
src/mesa/main/formatquery.h | 4 ++++
2 files changed, 20 insertions(+)
diff --git a/src/mesa/main/formatquery.c b/src/mesa/main/formatquery.c
index b64469b..60cbb90 100644
--- a/src/mesa/main/formatquery.c
+++ b/src/mesa/main/formatquery.c
@@ -830,3 +830,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 b42299e..1061fd2 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 */
--
2.5.3
More information about the mesa-dev
mailing list