gtkglwidget: Const'ify another array

This commit is contained in:
Sebastian Dröge 2015-06-15 21:32:43 +02:00
parent e410c770f5
commit 577ca6a0e8

View file

@ -206,7 +206,7 @@ static void
_redraw_texture (GtkGstGLWidget * gst_widget, guint tex) _redraw_texture (GtkGstGLWidget * gst_widget, guint tex)
{ {
const GstGLFuncs *gl = gst_widget->priv->context->gl_vtable; const GstGLFuncs *gl = gst_widget->priv->context->gl_vtable;
GLushort indices[] = { 0, 1, 2, 0, 2, 3 }; const GLushort indices[] = { 0, 1, 2, 0, 2, 3 };
if (gst_widget->priv->force_aspect_ratio) { if (gst_widget->priv->force_aspect_ratio) {
GstVideoRectangle src, dst, result; GstVideoRectangle src, dst, result;