[262/906] Works on linux but still some bugs. Fix autotools build.

This commit is contained in:
Julien Isorce 2008-11-09 23:23:30 +01:00 committed by Tim-Philipp Müller
parent 5ec4972d3d
commit 745e20a2e1
2 changed files with 4 additions and 3 deletions

View file

@ -19,13 +19,11 @@ libgstgl_@GST_MAJORMINOR@include_HEADERS = \
libgstgl_@GST_MAJORMINOR@_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
$(GST_BASE_LIBS) $(GST_LIBS) \
${top_builddir}/gst-libs/gst/freeglut/libgstfreeglut-$(GST_MAJORMINOR).la \
-lGLU -lGLEW $(GL_LIBS) $(X_LIBS)
libgstgl_@GST_MAJORMINOR@_la_CFLAGS = \
$(GL_CFLAGS) $(X_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
-I$(top_srcdir)/gst-libs/gst/freeglut
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
libgstgl_@GST_MAJORMINOR@_la_LDFLAGS = \
$(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)

View file

@ -447,7 +447,10 @@ gst_gl_window_run_loop (GstGLWindow *window)
case Expose:
if (priv->draw_cb)
{
priv->draw_cb (priv->draw_data);
glXSwapBuffers (priv->device, priv->internal_win_id);
}
break;
case VisibilityNotify: