mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
[396/906] gldifferencematte: fix some warnings from vc9
This commit is contained in:
parent
d02a585e7b
commit
12e0bff437
1 changed files with 4 additions and 4 deletions
|
@ -411,14 +411,14 @@ gst_gl_differencematte_interp (gint width, gint height, guint texture,
|
||||||
|
|
||||||
gst_gl_shader_set_uniform_1i (differencematte->shader[3], "base", 1);
|
gst_gl_shader_set_uniform_1i (differencematte->shader[3], "base", 1);
|
||||||
gst_gl_shader_set_uniform_1f (differencematte->shader[3],
|
gst_gl_shader_set_uniform_1f (differencematte->shader[3],
|
||||||
"base_width", differencematte->pbuf_width);
|
"base_width", (gfloat) differencematte->pbuf_width);
|
||||||
gst_gl_shader_set_uniform_1f (differencematte->shader[3],
|
gst_gl_shader_set_uniform_1f (differencematte->shader[3],
|
||||||
"base_height", differencematte->pbuf_height);
|
"base_height", (gfloat) differencematte->pbuf_height);
|
||||||
|
|
||||||
gst_gl_shader_set_uniform_1f (differencematte->shader[3],
|
gst_gl_shader_set_uniform_1f (differencematte->shader[3],
|
||||||
"final_width", filter->width);
|
"final_width", (gfloat) filter->width);
|
||||||
gst_gl_shader_set_uniform_1f (differencematte->shader[3],
|
gst_gl_shader_set_uniform_1f (differencematte->shader[3],
|
||||||
"final_height", filter->height);
|
"final_height", (gfloat) filter->height);
|
||||||
|
|
||||||
glActiveTexture (GL_TEXTURE2);
|
glActiveTexture (GL_TEXTURE2);
|
||||||
glEnable (GL_TEXTURE_RECTANGLE_ARB);
|
glEnable (GL_TEXTURE_RECTANGLE_ARB);
|
||||||
|
|
Loading…
Reference in a new issue