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
@ -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…
x
Reference in New Issue
Block a user