diff --git a/configure b/configure index b7ad739cefd..a413fd9d7ce 100755 --- a/configure +++ b/configure @@ -3992,10 +3992,10 @@ EOF OPENGL_LIBS="-framework OpenGL" ;; mingw*) - OPENGL_LIBS="-lopengl32 -lglu32" + OPENGL_LIBS="-lopengl32" ;; *) - OPENGL_LIBS="-lGL -lGLU" + OPENGL_LIBS="-lGL" ;; esac if cc_check_no_clean $DEFINES $OPENGL_CFLAGS $OPENGL_LIBS diff --git a/dists/xcode/residualvm.xcodeproj/project.pbxproj b/dists/xcode/residualvm.xcodeproj/project.pbxproj index 156c074f002..89b40b11ff8 100644 --- a/dists/xcode/residualvm.xcodeproj/project.pbxproj +++ b/dists/xcode/residualvm.xcodeproj/project.pbxproj @@ -1004,7 +1004,6 @@ "-lSDLmain", "-lSDL", "-lGL", - "-lGLU", "-dylib_file", "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib", "-Wl,-framework,Cocoa", @@ -1047,7 +1046,6 @@ "-lSDLmain", "-lSDL", "-lGL", - "-lGLU", "-dylib_file", "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib", "-Wl,-framework,Cocoa", diff --git a/engines/grim/gfx_opengl.h b/engines/grim/gfx_opengl.h index c5cd711777e..c3a9981f73e 100644 --- a/engines/grim/gfx_opengl.h +++ b/engines/grim/gfx_opengl.h @@ -32,7 +32,6 @@ #undef ARRAYSIZE #else #include -#include #endif namespace Grim { diff --git a/graphics/opengles2/system_headers.h b/graphics/opengles2/system_headers.h index 95d6a25ff65..7e5cc4caf61 100644 --- a/graphics/opengles2/system_headers.h +++ b/graphics/opengles2/system_headers.h @@ -47,7 +47,6 @@ #include #else #include -#include #endif #endif