From 566ed727a4a56d0b6e2f638734f501beea0bd0c0 Mon Sep 17 00:00:00 2001 From: Andres Rodriguez Date: Thu, 21 Dec 2017 19:00:29 -0500 Subject: mesa: fix glGet for ext_external_objects parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows the client to actually query the enums specified in the ext_external_objects spec. Signed-off-by: Andres Rodriguez Reviewed-by: Marek Olšák --- src/mesa/main/get.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main/get.c') diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 04cab91d9c1..1e4b8f6f0bc 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -2574,6 +2574,9 @@ find_value_indexed(const char *func, GLenum pname, GLuint index, union value *v) return TYPE_INT; /* GL_EXT_external_objects */ + case GL_NUM_DEVICE_UUIDS_EXT: + v->value_int = 1; + return TYPE_INT; case GL_DRIVER_UUID_EXT: _mesa_get_driver_uuid(ctx, v->value_int_4); return TYPE_INT_4; -- cgit v1.2.3