[626/906] fix build failure from undefined macro

This commit is contained in:
Matthew Waters 2012-12-07 00:20:58 +11:00
parent df8c489ada
commit 07f7bbc0cf

View file

@ -328,7 +328,7 @@ gst_gl_effects_draw_texture (GstGLEffects * effects, GLuint tex, guint width,
static void set_horizontal_swap (GstGLDisplay * display, gpointer data)
{
#if HAVE_OPENGL
if (USING_OPENGL (display)) {
if (gst_gl_display_get_gl_api_unlocked (display) & GST_GL_API_OPENGL) {
const double mirrormatrix[16] = {
-1.0, 0.0, 0.0, 0.0,
0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0};