1
0
mirror of https://github.com/jojo61/vdr-plugin-softhdcuvid.git synced 2023-10-10 13:37:41 +02:00

make .drirc obsolete

This commit is contained in:
jojo61 2019-12-27 14:26:12 +01:00
parent 68fa4fe4dc
commit 3cb66dd3de
2 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,7 @@ const char *glversion = "#version 330 core ";
#ifdef RASPI #ifdef RASPI
const char *glversion = "#version 300 es"; const char *glversion = "#version 300 es";
#else #else
const char *glversion = " "; const char *glversion = "#version 320 es ";
#endif #endif
#endif #endif
@ -1654,6 +1654,8 @@ bool cOglThread::InitOpenGL(void) {
char **argv = buffer; char **argv = buffer;
glutInit(&argc, argv); glutInit(&argc, argv);
glutInitContextVersion( 3, 3 );
glutInitContextProfile( GLUT_COMPATIBILITY_PROFILE );
glutInitDisplayMode (GLUT_SINGLE | GLUT_RGBA | GLUT_ALPHA); glutInitDisplayMode (GLUT_SINGLE | GLUT_RGBA | GLUT_ALPHA);
glutInitWindowSize (1, 1); glutInitWindowSize (1, 1);
glutInitWindowPosition (0, 0); glutInitWindowPosition (0, 0);

View File

@ -6,7 +6,7 @@ const char *gl_version = "#version 330";
#ifdef RASPI #ifdef RASPI
const char *gl_version = "#version 300 es"; const char *gl_version = "#version 300 es";
#else #else
const char *gl_version = " "; const char *gl_version = "#version 320 es ";
#endif #endif
#endif #endif