glvideomixer: don't upload the vertex data every frame

Add the missing cache tracking statement.
This commit is contained in:
Matthew Waters 2015-05-13 17:10:42 +10:00
parent fa6dbaeb6c
commit 2362ee8bee

View file

@ -954,6 +954,8 @@ gst_gl_video_mixer_callback (gpointer stuff)
gl->BufferData (GL_ARRAY_BUFFER, 4 * 5 * sizeof (GLfloat), v_vertices, gl->BufferData (GL_ARRAY_BUFFER, 4 * 5 * sizeof (GLfloat), v_vertices,
GL_STATIC_DRAW); GL_STATIC_DRAW);
pad->geometry_change = FALSE;
} else { } else {
gl->BindBuffer (GL_ARRAY_BUFFER, pad->vertex_buffer); gl->BindBuffer (GL_ARRAY_BUFFER, pad->vertex_buffer);
} }