From 896830e23e8f94b17bdf386c191a885c972ea8a8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 26 Sep 2017 23:45:31 +0200 Subject: gl: Remove GLFW and reinstate FreeGLUT. GLFW doesn't build on Visual Studio 2005 anymore, and I don't have time to keep up with the changes. So, we're switching back to FreeGLUT, which is more stable. I've added the two missing features that made us switch to GLFW in the first place: input methods and system clipboard support. If MuPDF is compiled with our version of FreeGLUT, we now use these functions: * glutKeyboardExtFunc * glutSetClipboard * glutGetClipboard --- platform/win32/libfreeglut.vcproj | 598 ++++++++++++++++++++++++++++++++++++++ platform/win32/libglfw.vcproj | 502 -------------------------------- platform/win32/mupdf-gl.vcproj | 58 ++-- platform/win32/mupdf.sln | 2 +- 4 files changed, 629 insertions(+), 531 deletions(-) create mode 100644 platform/win32/libfreeglut.vcproj delete mode 100644 platform/win32/libglfw.vcproj (limited to 'platform/win32') diff --git a/platform/win32/libfreeglut.vcproj b/platform/win32/libfreeglut.vcproj new file mode 100644 index 00000000..9fb0c2b5 --- /dev/null +++ b/platform/win32/libfreeglut.vcproj @@ -0,0 +1,598 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/platform/win32/libglfw.vcproj b/platform/win32/libglfw.vcproj deleted file mode 100644 index e63f99c3..00000000 --- a/platform/win32/libglfw.vcproj +++ /dev/null @@ -1,502 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/platform/win32/mupdf-gl.vcproj b/platform/win32/mupdf-gl.vcproj index 8d25a8e8..f374aa4a 100644 --- a/platform/win32/mupdf-gl.vcproj +++ b/platform/win32/mupdf-gl.vcproj @@ -43,8 +43,8 @@ @@ -288,6 +288,7 @@ /> @@ -586,6 +587,7 @@ />