diff options
author | Andres Rodriguez <[email protected]> | 2017-12-21 19:00:29 -0500 |
---|---|---|
committer | Andres Rodriguez <[email protected]> | 2018-01-30 15:13:49 -0500 |
commit | 566ed727a4a56d0b6e2f638734f501beea0bd0c0 (patch) | |
tree | 89286e6ef918dc6d1f947342dc223df44e6ab8b7 /src/mesa/main/get.c | |
parent | 0ebd3cc86318269a1fafc368b0fd95c71b19c634 (diff) |
mesa: fix glGet for ext_external_objects parameters
This allows the client to actually query the enums specified in the
ext_external_objects spec.
Signed-off-by: Andres Rodriguez <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r-- | src/mesa/main/get.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |