mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +00:00
[262/906] Works on linux but still some bugs. Fix autotools build.
This commit is contained in:
parent
5ec4972d3d
commit
745e20a2e1
2 changed files with 4 additions and 3 deletions
|
@ -19,13 +19,11 @@ libgstgl_@GST_MAJORMINOR@include_HEADERS = \
|
||||||
libgstgl_@GST_MAJORMINOR@_la_LIBADD = \
|
libgstgl_@GST_MAJORMINOR@_la_LIBADD = \
|
||||||
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
|
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
|
||||||
$(GST_BASE_LIBS) $(GST_LIBS) \
|
$(GST_BASE_LIBS) $(GST_LIBS) \
|
||||||
${top_builddir}/gst-libs/gst/freeglut/libgstfreeglut-$(GST_MAJORMINOR).la \
|
|
||||||
-lGLU -lGLEW $(GL_LIBS) $(X_LIBS)
|
-lGLU -lGLEW $(GL_LIBS) $(X_LIBS)
|
||||||
|
|
||||||
libgstgl_@GST_MAJORMINOR@_la_CFLAGS = \
|
libgstgl_@GST_MAJORMINOR@_la_CFLAGS = \
|
||||||
$(GL_CFLAGS) $(X_CFLAGS) \
|
$(GL_CFLAGS) $(X_CFLAGS) \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) \
|
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
||||||
-I$(top_srcdir)/gst-libs/gst/freeglut
|
|
||||||
|
|
||||||
libgstgl_@GST_MAJORMINOR@_la_LDFLAGS = \
|
libgstgl_@GST_MAJORMINOR@_la_LDFLAGS = \
|
||||||
$(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
$(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
||||||
|
|
|
@ -447,7 +447,10 @@ gst_gl_window_run_loop (GstGLWindow *window)
|
||||||
|
|
||||||
case Expose:
|
case Expose:
|
||||||
if (priv->draw_cb)
|
if (priv->draw_cb)
|
||||||
|
{
|
||||||
priv->draw_cb (priv->draw_data);
|
priv->draw_cb (priv->draw_data);
|
||||||
|
glXSwapBuffers (priv->device, priv->internal_win_id);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case VisibilityNotify:
|
case VisibilityNotify:
|
||||||
|
|
Loading…
Reference in a new issue