mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
gl/examples/qt: restrict the GL API to opengl where needed
Until the examples are ported to opengl3/gles2, they will not work with any other GL api.
This commit is contained in:
parent
0703c04414
commit
df7016553e
3 changed files with 9 additions and 0 deletions
|
@ -24,6 +24,9 @@
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
/* FIXME: port the example to shaders and remove this */
|
||||
g_setenv ("GST_GL_API", "opengl", FALSE);
|
||||
|
||||
QApplication a(argc, argv);
|
||||
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
|
||||
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
/* FIXME: port the example to shaders and remove this */
|
||||
g_setenv ("GST_GL_API", "opengl", FALSE);
|
||||
|
||||
QApplication a(argc, argv);
|
||||
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
|
||||
|
||||
|
|
|
@ -27,6 +27,9 @@
|
|||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
/* FIXME: port the example to shaders and remove this */
|
||||
g_setenv ("GST_GL_API", "opengl", FALSE);
|
||||
|
||||
gst_init (NULL, NULL);
|
||||
QApplication a(argc, argv);
|
||||
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
|
||||
|
|
Loading…
Reference in a new issue