summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAntia Puentes <[email protected]>2015-11-17 18:02:12 +0100
committerEduardo Lima Mitev <[email protected]>2016-03-03 15:14:06 +0100
commitb5d27bc5ddb9f30153e02f4ae1096c8d6eda3df5 (patch)
treeff790cf0dbf32bc7eba7f8e3a65405b6d9251162 /src
parent2453bba504ef2e88c5ab3737f159314572527a46 (diff)
mesa/main: Added empty skeleton of glGetInternalformati64v
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/formatquery.c16
-rw-r--r--src/mesa/main/formatquery.h4
2 files changed, 20 insertions, 0 deletions
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 */