diff --git a/openglosd.cpp b/openglosd.cpp index 2659f7f..e46db6d 100644 --- a/openglosd.cpp +++ b/openglosd.cpp @@ -26,7 +26,7 @@ const char *glversion = "#version 330 core "; #ifdef RASPI const char *glversion = "#version 300 es"; #else -const char *glversion = "#version 320 es "; +const char *glversion = " "; #endif #endif @@ -1654,8 +1654,6 @@ bool cOglThread::InitOpenGL(void) { char **argv = buffer; glutInit(&argc, argv); - glutInitContextVersion( 3, 3 ); - glutInitContextProfile( GLUT_COMPATIBILITY_PROFILE ); glutInitDisplayMode (GLUT_SINGLE | GLUT_RGBA | GLUT_ALPHA); glutInitWindowSize (1, 1); glutInitWindowPosition (0, 0); diff --git a/shaders.h b/shaders.h index ef44bee..d0cdd58 100644 --- a/shaders.h +++ b/shaders.h @@ -6,7 +6,7 @@ const char *gl_version = "#version 330"; #ifdef RASPI const char *gl_version = "#version 300 es"; #else -const char *gl_version = "#version 320 es "; +const char *gl_version = " "; #endif #endif