mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
gl: glquery: cast to silence compiler warning
https://bugzilla.gnome.org/show_bug.cgi?id=766973
This commit is contained in:
parent
7ecfd7e24d
commit
63a05aff6a
1 changed files with 2 additions and 1 deletions
|
@ -254,7 +254,8 @@ gst_gl_query_result (GstGLQuery * query)
|
||||||
|
|
||||||
gl = query->context->gl_vtable;
|
gl = query->context->gl_vtable;
|
||||||
if (gl->GetQueryObjectui64v) {
|
if (gl->GetQueryObjectui64v) {
|
||||||
gl->GetQueryObjectui64v (query->query_id, GL_QUERY_RESULT, &ret);
|
gl->GetQueryObjectui64v (query->query_id, GL_QUERY_RESULT,
|
||||||
|
(GLuint64 *) & ret);
|
||||||
} else {
|
} else {
|
||||||
guint tmp;
|
guint tmp;
|
||||||
gl->GetQueryObjectuiv (query->query_id, GL_QUERY_RESULT, &tmp);
|
gl->GetQueryObjectuiv (query->query_id, GL_QUERY_RESULT, &tmp);
|
||||||
|
|
Loading…
Reference in a new issue