From 478289140daae28cf7eabf54af3addf476aaad9c Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Sat, 23 Aug 2014 21:00:08 -0300 Subject: Replace GLEW with a glLoadGen loader. This should fix the GL loading errors that occur in some drivers due to the use of deprecated functions by GLEW. Side benefits are more accurate auto-completion (deprecated function and symbols don't exist) and faster pointer loading (less entrypoints to load). In addition it removes an external library depency, simplifying the build system a bit and eliminating one set of binary libraries for Windows. --- vsprops/app.props | 1 - vsprops/externals.props | 6 +++--- vsprops/qt.props | 2 +- vsprops/qt_libs_debug.props | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) (limited to 'vsprops') diff --git a/vsprops/app.props b/vsprops/app.props index aa86fd142..8a3227771 100644 --- a/vsprops/app.props +++ b/vsprops/app.props @@ -11,7 +11,6 @@ xcopy "$(SolutionDir)data" "$(EmuBinDir)" /Y /S /D -xcopy "$(ExternalsDir)glew-1.10.0\bin\Release\$(PlatformName)\glew32.dll" "$(EmuBinDir)" /Y /S /D xcopy "$(ExternalsDir)glfw-3.0.2\lib-msvc100\glfw3.dll" "$(EmuBinDir)" /Y /S /D %(Command) diff --git a/vsprops/externals.props b/vsprops/externals.props index c49a095ec..d401fee5c 100644 --- a/vsprops/externals.props +++ b/vsprops/externals.props @@ -9,14 +9,14 @@ - $(ExternalsDir)glew-1.10.0\include;$(ExternalsDir)glfw-3.0.2\include;$(ExternalsDir)qhexedit;%(AdditionalIncludeDirectories) + $(ExternalsDir)glfw-3.0.2\include;$(ExternalsDir)qhexedit;%(AdditionalIncludeDirectories) - $(ExternalsDir)glew-1.10.0\lib\Release\$(PlatformName);$(ExternalsDir)glfw-3.0.2\lib-msvc100;$(ExternalsDir)libjpeg;$(ExternalsDir)sdl-2.0.0\lib\$(PlatformName);%(AdditionalLibraryDirectories) - glfw3dll.lib;opengl32.lib;glew32.lib;glu32.lib;%(AdditionalDependencies) + $(ExternalsDir)glfw-3.0.2\lib-msvc100;$(ExternalsDir)libjpeg;$(ExternalsDir)sdl-2.0.0\lib\$(PlatformName);%(AdditionalLibraryDirectories) + glfw3dll.lib;opengl32.lib;glu32.lib;%(AdditionalDependencies) diff --git a/vsprops/qt.props b/vsprops/qt.props index f74a7b5ea..ba9455e96 100644 --- a/vsprops/qt.props +++ b/vsprops/qt.props @@ -19,7 +19,7 @@ .h - /I"$(SolutionDir)src" /I"$(ExternalsDir)glew-1.6.0\include" /I"$(ExternalsDir)sdl-1.2.15\include" /I"$(ExternalsDir)qhexedit" + /I"$(SolutionDir)src" /I"$(ExternalsDir)sdl-1.2.15\include" /I"$(ExternalsDir)qhexedit" false diff --git a/vsprops/qt_libs_debug.props b/vsprops/qt_libs_debug.props index 335d0ac47..65261c908 100644 --- a/vsprops/qt_libs_debug.props +++ b/vsprops/qt_libs_debug.props @@ -9,7 +9,7 @@ false - /I"$(SolutionDir)src" /I"$(ExternalsDir)glew-1.6.0\include" /I"$(ExternalsDir)sdl-1.2.15\include" /I"$(ExternalsDir)qhexedit" /D"_DEBUG" + /I"$(SolutionDir)src" /I"$(ExternalsDir)sdl-1.2.15\include" /I"$(ExternalsDir)qhexedit" /D"_DEBUG" xcopy "$(QtBinaryDir)QtCored4.dll" "$(EmuBinDir)" /Y /S /D -- cgit v1.2.3