mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gl: glquery: cast to silence compiler warning
https://bugzilla.gnome.org/show_bug.cgi?id=766973
This commit is contained in:
parent
61120b8c86
commit
c8eef7bf44
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