mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
gl: update unit test for glmemory api change
This commit is contained in:
parent
157170011d
commit
149cbb2e31
1 changed files with 2 additions and 1 deletions
|
@ -143,7 +143,8 @@ GST_START_TEST (test_transfer)
|
||||||
|
|
||||||
/* wrapped texture creation */
|
/* wrapped texture creation */
|
||||||
mem3 = (GstMemory *) gst_gl_memory_wrapped_texture (context,
|
mem3 = (GstMemory *) gst_gl_memory_wrapped_texture (context,
|
||||||
((GstGLMemory *) mem)->tex_id, &v_info, 0, NULL, NULL, NULL);
|
((GstGLMemory *) mem)->tex_id, GL_TEXTURE_2D, &v_info, 0, NULL, NULL,
|
||||||
|
NULL);
|
||||||
fail_unless (!GST_GL_MEMORY_FLAG_IS_SET (mem3,
|
fail_unless (!GST_GL_MEMORY_FLAG_IS_SET (mem3,
|
||||||
GST_GL_MEMORY_FLAG_NEED_UPLOAD));
|
GST_GL_MEMORY_FLAG_NEED_UPLOAD));
|
||||||
fail_unless (GST_GL_MEMORY_FLAG_IS_SET (mem3,
|
fail_unless (GST_GL_MEMORY_FLAG_IS_SET (mem3,
|
||||||
|
|
Loading…
Reference in a new issue