From: Alejandro PiƱeiro <[email protected]>
It just does a wrapping on the existing 32-bit GetInternalformativ.
We will maintain the 32-bit query as default as it is likely that
it would be the one most used.
---
src/mesa/main/formatquery.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/mesa/main/formatquery.c b/src/mesa/main/formatquery.c
index 8c590f9..ce384a0 100644
--- a/src/mesa/main/formatquery.c
+++ b/src/mesa/main/formatquery.c
@@ -1015,6 +1015,9 @@ void GLAPIENTRY
_mesa_GetInternalformati64v(GLenum target, GLenum internalformat,
GLenum pname, GLsizei bufSize, GLint64 *params)
{
+ GLint params32[16];
+ unsigned i;
+
GET_CURRENT_CONTEXT(ctx);
ASSERT_OUTSIDE_BEGIN_END(ctx);
@@ -1024,5 +1027,8 @@ _mesa_GetInternalformati64v(GLenum target, GLenum
internalformat,
return;
}
- _mesa_debug(ctx, "glGetInternalformati64v() not implemented");
+ _mesa_GetInternalformativ(target, internalformat, pname, bufSize, params32);
+
+ for (i = 0; i < bufSize; i++)
+ params[i] = params32[i];
}
--
2.5.3
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev