summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--externals/glfw-3.0.2/lib-mingw/glfw3.dllbin171526 -> 0 bytes
-rw-r--r--externals/glfw-3.0.2/lib-msvc100/glfw3.dllbin42496 -> 0 bytes
-rw-r--r--externals/glfw-3.0.2/lib-msvc100/glfw3.libbin121560 -> 0 bytes
-rw-r--r--externals/glfw-3.0.2/lib-msvc100/glfw3dll.libbin17748 -> 0 bytes
-rw-r--r--externals/glfw-3.0.2/lib-msvc110/glfw3.dllbin43520 -> 0 bytes
-rw-r--r--externals/glfw-3.0.2/lib-msvc110/glfw3.libbin121720 -> 0 bytes
-rw-r--r--externals/glfw-3.0.2/lib-msvc110/glfw3dll.libbin17748 -> 0 bytes
-rw-r--r--externals/glfw-3.0.4.bin/COPYING.txt (renamed from externals/glfw-3.0.2/COPYING.txt)0
-rw-r--r--externals/glfw-3.0.4.bin/include/GLFW/glfw3.h (renamed from externals/glfw-3.0.2/include/GLFW/glfw3.h)152
-rw-r--r--externals/glfw-3.0.4.bin/include/GLFW/glfw3native.h (renamed from externals/glfw-3.0.2/include/GLFW/glfw3native.h)0
-rw-r--r--externals/glfw-3.0.4.bin/lib-mingw-i686/glfw3.dllbin0 -> 172569 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-mingw-i686/glfw3dll.abin0 -> 48318 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-mingw-i686/libglfw3.abin0 -> 83006 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-mingw-x86_64/glfw3.dllbin0 -> 199843 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-mingw-x86_64/glfw3dll.abin0 -> 47144 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-mingw-x86_64/libglfw3.abin0 -> 89300 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3.dllbin0 -> 43520 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3.libbin0 -> 123024 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3dll.libbin0 -> 17748 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3.dllbin0 -> 48640 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3.libbin0 -> 180886 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3dll.libbin0 -> 17418 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3.dllbin0 -> 43520 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3.libbin0 -> 123566 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3dll.libbin0 -> 17748 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3.dllbin0 -> 48640 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3.libbin0 -> 180408 bytes
-rw-r--r--externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3dll.libbin0 -> 17418 bytes
-rw-r--r--vsprops/app.props2
-rw-r--r--vsprops/externals.props4
30 files changed, 94 insertions, 64 deletions
diff --git a/externals/glfw-3.0.2/lib-mingw/glfw3.dll b/externals/glfw-3.0.2/lib-mingw/glfw3.dll
deleted file mode 100644
index 4583efa39..000000000
--- a/externals/glfw-3.0.2/lib-mingw/glfw3.dll
+++ /dev/null
Binary files differ
diff --git a/externals/glfw-3.0.2/lib-msvc100/glfw3.dll b/externals/glfw-3.0.2/lib-msvc100/glfw3.dll
deleted file mode 100644
index 9642f18f0..000000000
--- a/externals/glfw-3.0.2/lib-msvc100/glfw3.dll
+++ /dev/null
Binary files differ
diff --git a/externals/glfw-3.0.2/lib-msvc100/glfw3.lib b/externals/glfw-3.0.2/lib-msvc100/glfw3.lib
deleted file mode 100644
index 9b28762f1..000000000
--- a/externals/glfw-3.0.2/lib-msvc100/glfw3.lib
+++ /dev/null
Binary files differ
diff --git a/externals/glfw-3.0.2/lib-msvc100/glfw3dll.lib b/externals/glfw-3.0.2/lib-msvc100/glfw3dll.lib
deleted file mode 100644
index eac88cede..000000000
--- a/externals/glfw-3.0.2/lib-msvc100/glfw3dll.lib
+++ /dev/null
Binary files differ
diff --git a/externals/glfw-3.0.2/lib-msvc110/glfw3.dll b/externals/glfw-3.0.2/lib-msvc110/glfw3.dll
deleted file mode 100644
index fbe97b052..000000000
--- a/externals/glfw-3.0.2/lib-msvc110/glfw3.dll
+++ /dev/null
Binary files differ
diff --git a/externals/glfw-3.0.2/lib-msvc110/glfw3.lib b/externals/glfw-3.0.2/lib-msvc110/glfw3.lib
deleted file mode 100644
index 45da61c3a..000000000
--- a/externals/glfw-3.0.2/lib-msvc110/glfw3.lib
+++ /dev/null
Binary files differ
diff --git a/externals/glfw-3.0.2/lib-msvc110/glfw3dll.lib b/externals/glfw-3.0.2/lib-msvc110/glfw3dll.lib
deleted file mode 100644
index 7cd51c3f8..000000000
--- a/externals/glfw-3.0.2/lib-msvc110/glfw3dll.lib
+++ /dev/null
Binary files differ
diff --git a/externals/glfw-3.0.2/COPYING.txt b/externals/glfw-3.0.4.bin/COPYING.txt
index b30c70158..b30c70158 100644
--- a/externals/glfw-3.0.2/COPYING.txt
+++ b/externals/glfw-3.0.4.bin/COPYING.txt
diff --git a/externals/glfw-3.0.2/include/GLFW/glfw3.h b/externals/glfw-3.0.4.bin/include/GLFW/glfw3.h
index de2798b9f..0f97738c7 100644
--- a/externals/glfw-3.0.2/include/GLFW/glfw3.h
+++ b/externals/glfw-3.0.4.bin/include/GLFW/glfw3.h
@@ -133,10 +133,38 @@ extern "C" {
133 133
134/* Most GL/glu.h variants on Windows need wchar_t 134/* Most GL/glu.h variants on Windows need wchar_t
135 * OpenGL/gl.h blocks the definition of ptrdiff_t by glext.h on OS X */ 135 * OpenGL/gl.h blocks the definition of ptrdiff_t by glext.h on OS X */
136#include <stddef.h> 136#if !defined(GLFW_INCLUDE_NONE)
137 137 #include <stddef.h>
138#endif
138 139
139/* ---------------- GLFW related system specific defines ----------------- */ 140/* Include the chosen client API headers.
141 */
142#if defined(__APPLE_CC__)
143 #if defined(GLFW_INCLUDE_GLCOREARB)
144 #include <OpenGL/gl3.h>
145 #elif !defined(GLFW_INCLUDE_NONE)
146 #define GL_GLEXT_LEGACY
147 #include <OpenGL/gl.h>
148 #endif
149 #if defined(GLFW_INCLUDE_GLU)
150 #include <OpenGL/glu.h>
151 #endif
152#else
153 #if defined(GLFW_INCLUDE_GLCOREARB)
154 #include <GL/glcorearb.h>
155 #elif defined(GLFW_INCLUDE_ES1)
156 #include <GLES/gl.h>
157 #elif defined(GLFW_INCLUDE_ES2)
158 #include <GLES2/gl2.h>
159 #elif defined(GLFW_INCLUDE_ES3)
160 #include <GLES3/gl3.h>
161 #elif !defined(GLFW_INCLUDE_NONE)
162 #include <GL/gl.h>
163 #endif
164 #if defined(GLFW_INCLUDE_GLU)
165 #include <GL/glu.h>
166 #endif
167#endif
140 168
141#if defined(GLFW_DLL) && defined(_GLFW_BUILD_DLL) 169#if defined(GLFW_DLL) && defined(_GLFW_BUILD_DLL)
142 /* GLFW_DLL is defined by users of GLFW when compiling programs that will link 170 /* GLFW_DLL is defined by users of GLFW when compiling programs that will link
@@ -173,35 +201,6 @@ extern "C" {
173 201
174/* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */ 202/* -------------------- END SYSTEM/COMPILER SPECIFIC --------------------- */
175 203
176/* Include the chosen client API headers.
177 */
178#if defined(__APPLE_CC__)
179 #if defined(GLFW_INCLUDE_GLCOREARB)
180 #include <OpenGL/gl3.h>
181 #elif !defined(GLFW_INCLUDE_NONE)
182 #define GL_GLEXT_LEGACY
183 #include <OpenGL/gl.h>
184 #endif
185 #if defined(GLFW_INCLUDE_GLU)
186 #include <OpenGL/glu.h>
187 #endif
188#else
189 #if defined(GLFW_INCLUDE_GLCOREARB)
190 #include <GL/glcorearb.h>
191 #elif defined(GLFW_INCLUDE_ES1)
192 #include <GLES/gl.h>
193 #elif defined(GLFW_INCLUDE_ES2)
194 #include <GLES2/gl2.h>
195 #elif defined(GLFW_INCLUDE_ES3)
196 #include <GLES3/gl3.h>
197 #elif !defined(GLFW_INCLUDE_NONE)
198 #include <GL/gl.h>
199 #endif
200 #if defined(GLFW_INCLUDE_GLU)
201 #include <GL/glu.h>
202 #endif
203#endif
204
205 204
206/************************************************************************* 205/*************************************************************************
207 * GLFW API tokens 206 * GLFW API tokens
@@ -228,7 +227,7 @@ extern "C" {
228 * API changes. 227 * API changes.
229 * @ingroup init 228 * @ingroup init
230 */ 229 */
231#define GLFW_VERSION_REVISION 2 230#define GLFW_VERSION_REVISION 4
232/*! @} */ 231/*! @} */
233 232
234/*! @name Key and button actions 233/*! @name Key and button actions
@@ -707,8 +706,8 @@ typedef void (* GLFWmousebuttonfun)(GLFWwindow*,int,int,int);
707 * This is the function signature for cursor position callback functions. 706 * This is the function signature for cursor position callback functions.
708 * 707 *
709 * @param[in] window The window that received the event. 708 * @param[in] window The window that received the event.
710 * @param[in] xpos The new x-coordinate of the cursor. 709 * @param[in] xpos The new x-coordinate, in screen coordinates, of the cursor.
711 * @param[in] ypos The new y-coordinate of the cursor. 710 * @param[in] ypos The new y-coordinate, in screen coordinates, of the cursor.
712 * 711 *
713 * @sa glfwSetCursorPosCallback 712 * @sa glfwSetCursorPosCallback
714 * 713 *
@@ -766,7 +765,7 @@ typedef void (* GLFWkeyfun)(GLFWwindow*,int,int,int,int);
766 * This is the function signature for Unicode character callback functions. 765 * This is the function signature for Unicode character callback functions.
767 * 766 *
768 * @param[in] window The window that received the event. 767 * @param[in] window The window that received the event.
769 * @param[in] character The Unicode code point of the character. 768 * @param[in] codepoint The Unicode code point of the character.
770 * 769 *
771 * @sa glfwSetCharCallback 770 * @sa glfwSetCharCallback
772 * 771 *
@@ -793,7 +792,7 @@ typedef void (* GLFWmonitorfun)(GLFWmonitor*,int);
793 * 792 *
794 * @ingroup monitor 793 * @ingroup monitor
795 */ 794 */
796typedef struct 795typedef struct GLFWvidmode
797{ 796{
798 /*! The width, in screen coordinates, of the video mode. 797 /*! The width, in screen coordinates, of the video mode.
799 */ 798 */
@@ -823,7 +822,7 @@ typedef struct
823 * 822 *
824 * @ingroup monitor 823 * @ingroup monitor
825 */ 824 */
826typedef struct 825typedef struct GLFWgammaramp
827{ 826{
828 /*! An array of value describing the response of the red channel. 827 /*! An array of value describing the response of the red channel.
829 */ 828 */
@@ -864,10 +863,7 @@ typedef struct
864 * 863 *
865 * @note This function may only be called from the main thread. 864 * @note This function may only be called from the main thread.
866 * 865 *
867 * @note This function may take several seconds to complete on some systems, 866 * @note **OS X:** This function will change the current directory of the
868 * while on other systems it may take only a fraction of a second to complete.
869 *
870 * @note **Mac OS X:** This function will change the current directory of the
871 * application to the `Contents/Resources` subdirectory of the application's 867 * application to the `Contents/Resources` subdirectory of the application's
872 * bundle, if present. 868 * bundle, if present.
873 * 869 *
@@ -1233,17 +1229,26 @@ GLFWAPI void glfwWindowHint(int target, int hint);
1233 * to not share resources. 1229 * to not share resources.
1234 * @return The handle of the created window, or `NULL` if an error occurred. 1230 * @return The handle of the created window, or `NULL` if an error occurred.
1235 * 1231 *
1232 * @remarks **Windows:** Window creation will fail if the Microsoft GDI
1233 * software OpenGL implementation is the only one available.
1234 *
1236 * @remarks **Windows:** If the executable has an icon resource named 1235 * @remarks **Windows:** If the executable has an icon resource named
1237 * `GLFW_ICON,` it will be set as the icon for the window. If no such icon is 1236 * `GLFW_ICON,` it will be set as the icon for the window. If no such icon is
1238 * present, the `IDI_WINLOGO` icon will be used instead. 1237 * present, the `IDI_WINLOGO` icon will be used instead.
1239 * 1238 *
1240 * @remarks **Mac OS X:** The GLFW window has no icon, as it is not a document 1239 * @remarks **OS X:** The GLFW window has no icon, as it is not a document
1241 * window, but the dock icon will be the same as the application bundle's icon. 1240 * window, but the dock icon will be the same as the application bundle's icon.
1242 * Also, the first time a window is opened the menu bar is populated with 1241 * Also, the first time a window is opened the menu bar is populated with
1243 * common commands like Hide, Quit and About. The (minimal) about dialog uses 1242 * common commands like Hide, Quit and About. The (minimal) about dialog uses
1244 * information from the application's bundle. For more information on bundles, 1243 * information from the application's bundle. For more information on bundles,
1245 * see the Bundle Programming Guide provided by Apple. 1244 * see the Bundle Programming Guide provided by Apple.
1246 * 1245 *
1246 * @remarks **X11:** There is no mechanism for setting the window icon yet.
1247 *
1248 * @remarks The swap interval is not set during window creation, but is left at
1249 * the default value for that platform. For more information, see @ref
1250 * glfwSwapInterval.
1251 *
1247 * @note This function may only be called from the main thread. 1252 * @note This function may only be called from the main thread.
1248 * 1253 *
1249 * @sa glfwDestroyWindow 1254 * @sa glfwDestroyWindow
@@ -1355,10 +1360,6 @@ GLFWAPI void glfwGetWindowPos(GLFWwindow* window, int* xpos, int* ypos);
1355 * 1360 *
1356 * @note The window manager may put limits on what positions are allowed. 1361 * @note The window manager may put limits on what positions are allowed.
1357 * 1362 *
1358 * @bug **X11:** Some window managers ignore the set position of hidden (i.e.
1359 * unmapped) windows, instead placing them where it thinks is appropriate once
1360 * they are shown.
1361 *
1362 * @sa glfwGetWindowPos 1363 * @sa glfwGetWindowPos
1363 * 1364 *
1364 * @ingroup window 1365 * @ingroup window
@@ -1368,7 +1369,8 @@ GLFWAPI void glfwSetWindowPos(GLFWwindow* window, int xpos, int ypos);
1368/*! @brief Retrieves the size of the client area of the specified window. 1369/*! @brief Retrieves the size of the client area of the specified window.
1369 * 1370 *
1370 * This function retrieves the size, in screen coordinates, of the client area 1371 * This function retrieves the size, in screen coordinates, of the client area
1371 * of the specified window. 1372 * of the specified window. If you wish to retrieve the size of the
1373 * framebuffer in pixels, see @ref glfwGetFramebufferSize.
1372 * 1374 *
1373 * @param[in] window The window whose size to retrieve. 1375 * @param[in] window The window whose size to retrieve.
1374 * @param[out] width Where to store the width, in screen coordinates, of the 1376 * @param[out] width Where to store the width, in screen coordinates, of the
@@ -1409,7 +1411,8 @@ GLFWAPI void glfwSetWindowSize(GLFWwindow* window, int width, int height);
1409/*! @brief Retrieves the size of the framebuffer of the specified window. 1411/*! @brief Retrieves the size of the framebuffer of the specified window.
1410 * 1412 *
1411 * This function retrieves the size, in pixels, of the framebuffer of the 1413 * This function retrieves the size, in pixels, of the framebuffer of the
1412 * specified window. 1414 * specified window. If you wish to retrieve the size of the window in screen
1415 * coordinates, see @ref glfwGetWindowSize.
1413 * 1416 *
1414 * @param[in] window The window whose framebuffer to query. 1417 * @param[in] window The window whose framebuffer to query.
1415 * @param[out] width Where to store the width, in pixels, of the framebuffer, 1418 * @param[out] width Where to store the width, in pixels, of the framebuffer,
@@ -1592,7 +1595,10 @@ GLFWAPI GLFWwindowsizefun glfwSetWindowSizeCallback(GLFWwindow* window, GLFWwind
1592 * @return The previously set callback, or `NULL` if no callback was set or an 1595 * @return The previously set callback, or `NULL` if no callback was set or an
1593 * error occurred. 1596 * error occurred.
1594 * 1597 *
1595 * @remarks **Mac OS X:** Selecting Quit from the application menu will 1598 * @par New in GLFW 3
1599 * The close callback no longer returns a value.
1600 *
1601 * @remarks **OS X:** Selecting Quit from the application menu will
1596 * trigger the close callback for all windows. 1602 * trigger the close callback for all windows.
1597 * 1603 *
1598 * @ingroup window 1604 * @ingroup window
@@ -1685,6 +1691,12 @@ GLFWAPI GLFWframebuffersizefun glfwSetFramebufferSizeCallback(GLFWwindow* window
1685 * This function is no longer called by @ref glfwSwapBuffers. You need to call 1691 * This function is no longer called by @ref glfwSwapBuffers. You need to call
1686 * it or @ref glfwWaitEvents yourself. 1692 * it or @ref glfwWaitEvents yourself.
1687 * 1693 *
1694 * @remarks On some platforms, a window move, resize or menu operation will
1695 * cause event processing to block. This is due to how event processing is
1696 * designed on those platforms. You can use the
1697 * [window refresh callback](@ref GLFWwindowrefreshfun) to redraw the contents
1698 * of your window when necessary during the operation.
1699 *
1688 * @note This function may only be called from the main thread. 1700 * @note This function may only be called from the main thread.
1689 * 1701 *
1690 * @note This function may not be called from a callback. 1702 * @note This function may not be called from a callback.
@@ -1712,6 +1724,12 @@ GLFWAPI void glfwPollEvents(void);
1712 * 1724 *
1713 * This function is not required for joystick input to work. 1725 * This function is not required for joystick input to work.
1714 * 1726 *
1727 * @remarks On some platforms, a window move, resize or menu operation will
1728 * cause event processing to block. This is due to how event processing is
1729 * designed on those platforms. You can use the
1730 * [window refresh callback](@ref GLFWwindowrefreshfun) to redraw the contents
1731 * of your window when necessary during the operation.
1732 *
1715 * @note This function may only be called from the main thread. 1733 * @note This function may only be called from the main thread.
1716 * 1734 *
1717 * @note This function may not be called from a callback. 1735 * @note This function may not be called from a callback.
@@ -1747,9 +1765,12 @@ GLFWAPI int glfwGetInputMode(GLFWwindow* window, int mode);
1747 * modes: 1765 * modes:
1748 * - `GLFW_CURSOR_NORMAL` makes the cursor visible and behaving normally. 1766 * - `GLFW_CURSOR_NORMAL` makes the cursor visible and behaving normally.
1749 * - `GLFW_CURSOR_HIDDEN` makes the cursor invisible when it is over the client 1767 * - `GLFW_CURSOR_HIDDEN` makes the cursor invisible when it is over the client
1750 * area of the window. 1768 * area of the window but does not restrict the cursor from leaving. This is
1751 * - `GLFW_CURSOR_DISABLED` disables the cursor and removes any limitations on 1769 * useful if you wish to render your own cursor or have no visible cursor at
1752 * cursor movement. 1770 * all.
1771 * - `GLFW_CURSOR_DISABLED` hides and grabs the cursor, providing virtual
1772 * and unlimited cursor movement. This is useful for implementing for
1773 * example 3D camera controls.
1753 * 1774 *
1754 * If `mode` is `GLFW_STICKY_KEYS`, the value must be either `GL_TRUE` to 1775 * If `mode` is `GLFW_STICKY_KEYS`, the value must be either `GL_TRUE` to
1755 * enable sticky keys, or `GL_FALSE` to disable it. If sticky keys are 1776 * enable sticky keys, or `GL_FALSE` to disable it. If sticky keys are
@@ -1819,7 +1840,8 @@ GLFWAPI int glfwGetMouseButton(GLFWwindow* window, int button);
1819/*! @brief Retrieves the last reported cursor position, relative to the client 1840/*! @brief Retrieves the last reported cursor position, relative to the client
1820 * area of the window. 1841 * area of the window.
1821 * 1842 *
1822 * This function returns the last reported position of the cursor to the 1843 * This function returns the last reported position of the cursor, in screen
1844 * coordinates, relative to the upper-left corner of the client area of the
1823 * specified window. 1845 * specified window.
1824 * 1846 *
1825 * If the cursor is disabled (with `GLFW_CURSOR_DISABLED`) then the cursor 1847 * If the cursor is disabled (with `GLFW_CURSOR_DISABLED`) then the cursor
@@ -1842,11 +1864,13 @@ GLFWAPI int glfwGetMouseButton(GLFWwindow* window, int button);
1842 */ 1864 */
1843GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos); 1865GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos);
1844 1866
1845/*! @brief Sets the position of the cursor, relative to the client area of the window. 1867/*! @brief Sets the position of the cursor, relative to the client area of the
1868 * window.
1846 * 1869 *
1847 * This function sets the position of the cursor. The specified window must be 1870 * This function sets the position, in screen coordinates, of the cursor
1848 * focused. If the window does not have focus when this function is called, it 1871 * relative to the upper-left corner of the client area of the specified
1849 * fails silently. 1872 * window. The window must be focused. If the window does not have focus when
1873 * this function is called, it fails silently.
1850 * 1874 *
1851 * If the cursor is disabled (with `GLFW_CURSOR_DISABLED`) then the cursor 1875 * If the cursor is disabled (with `GLFW_CURSOR_DISABLED`) then the cursor
1852 * position is unbounded and limited only by the minimum and maximum values of 1876 * position is unbounded and limited only by the minimum and maximum values of
@@ -1854,9 +1878,9 @@ GLFWAPI void glfwGetCursorPos(GLFWwindow* window, double* xpos, double* ypos);
1854 * 1878 *
1855 * @param[in] window The desired window. 1879 * @param[in] window The desired window.
1856 * @param[in] xpos The desired x-coordinate, relative to the left edge of the 1880 * @param[in] xpos The desired x-coordinate, relative to the left edge of the
1857 * client area, or `NULL`. 1881 * client area.
1858 * @param[in] ypos The desired y-coordinate, relative to the top edge of the 1882 * @param[in] ypos The desired y-coordinate, relative to the top edge of the
1859 * client area, or `NULL`. 1883 * client area.
1860 * 1884 *
1861 * @sa glfwGetCursorPos 1885 * @sa glfwGetCursorPos
1862 * 1886 *
@@ -1942,7 +1966,8 @@ GLFWAPI GLFWmousebuttonfun glfwSetMouseButtonCallback(GLFWwindow* window, GLFWmo
1942 * 1966 *
1943 * This function sets the cursor position callback of the specified window, 1967 * This function sets the cursor position callback of the specified window,
1944 * which is called when the cursor is moved. The callback is provided with the 1968 * which is called when the cursor is moved. The callback is provided with the
1945 * position relative to the upper-left corner of the client area of the window. 1969 * position, in screen coordinates, relative to the upper-left corner of the
1970 * client area of the window.
1946 * 1971 *
1947 * @param[in] window The window whose callback to set. 1972 * @param[in] window The window whose callback to set.
1948 * @param[in] cbfun The new callback, or `NULL` to remove the currently set 1973 * @param[in] cbfun The new callback, or `NULL` to remove the currently set
@@ -2202,6 +2227,11 @@ GLFWAPI void glfwSwapBuffers(GLFWwindow* window);
2202 * 2227 *
2203 * @remarks This function may be called from secondary threads. 2228 * @remarks This function may be called from secondary threads.
2204 * 2229 *
2230 * @note This function is not called during window creation, leaving the swap
2231 * interval set to whatever is the default on that platform. This is done
2232 * because some swap interval extensions used by GLFW do not allow the swap
2233 * interval to be reset to zero once it has been set to a non-zero value.
2234 *
2205 * @note Some GPU drivers do not honor the requested swap interval, either 2235 * @note Some GPU drivers do not honor the requested swap interval, either
2206 * because of user settings that override the request or due to bugs in the 2236 * because of user settings that override the request or due to bugs in the
2207 * driver. 2237 * driver.
diff --git a/externals/glfw-3.0.2/include/GLFW/glfw3native.h b/externals/glfw-3.0.4.bin/include/GLFW/glfw3native.h
index d570f5876..d570f5876 100644
--- a/externals/glfw-3.0.2/include/GLFW/glfw3native.h
+++ b/externals/glfw-3.0.4.bin/include/GLFW/glfw3native.h
diff --git a/externals/glfw-3.0.4.bin/lib-mingw-i686/glfw3.dll b/externals/glfw-3.0.4.bin/lib-mingw-i686/glfw3.dll
new file mode 100644
index 000000000..5941d1a0a
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-mingw-i686/glfw3.dll
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-mingw-i686/glfw3dll.a b/externals/glfw-3.0.4.bin/lib-mingw-i686/glfw3dll.a
new file mode 100644
index 000000000..415d85630
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-mingw-i686/glfw3dll.a
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-mingw-i686/libglfw3.a b/externals/glfw-3.0.4.bin/lib-mingw-i686/libglfw3.a
new file mode 100644
index 000000000..7138ee9b5
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-mingw-i686/libglfw3.a
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-mingw-x86_64/glfw3.dll b/externals/glfw-3.0.4.bin/lib-mingw-x86_64/glfw3.dll
new file mode 100644
index 000000000..49cf94a80
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-mingw-x86_64/glfw3.dll
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-mingw-x86_64/glfw3dll.a b/externals/glfw-3.0.4.bin/lib-mingw-x86_64/glfw3dll.a
new file mode 100644
index 000000000..d71c65377
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-mingw-x86_64/glfw3dll.a
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-mingw-x86_64/libglfw3.a b/externals/glfw-3.0.4.bin/lib-mingw-x86_64/libglfw3.a
new file mode 100644
index 000000000..d1ca9a42a
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-mingw-x86_64/libglfw3.a
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3.dll b/externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3.dll
new file mode 100644
index 000000000..d66c5dd89
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3.dll
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3.lib b/externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3.lib
new file mode 100644
index 000000000..2f972ab1a
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3.lib
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3dll.lib b/externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3dll.lib
new file mode 100644
index 000000000..365cdbafb
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v110-Win32/glfw3dll.lib
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3.dll b/externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3.dll
new file mode 100644
index 000000000..44e6d49e4
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3.dll
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3.lib b/externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3.lib
new file mode 100644
index 000000000..77757999e
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3.lib
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3dll.lib b/externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3dll.lib
new file mode 100644
index 000000000..20b548406
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v110-x64/glfw3dll.lib
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3.dll b/externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3.dll
new file mode 100644
index 000000000..e15fc43b4
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3.dll
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3.lib b/externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3.lib
new file mode 100644
index 000000000..071a0ab84
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3.lib
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3dll.lib b/externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3dll.lib
new file mode 100644
index 000000000..d0c5ff5e1
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v120-Win32/glfw3dll.lib
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3.dll b/externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3.dll
new file mode 100644
index 000000000..9da042a6b
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3.dll
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3.lib b/externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3.lib
new file mode 100644
index 000000000..e2b495ff5
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3.lib
Binary files differ
diff --git a/externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3dll.lib b/externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3dll.lib
new file mode 100644
index 000000000..3d6e86418
--- /dev/null
+++ b/externals/glfw-3.0.4.bin/lib-msvc_v120-x64/glfw3dll.lib
Binary files differ
diff --git a/vsprops/app.props b/vsprops/app.props
index 8a3227771..b9c583e0f 100644
--- a/vsprops/app.props
+++ b/vsprops/app.props
@@ -11,7 +11,7 @@
11 <ItemDefinitionGroup> 11 <ItemDefinitionGroup>
12 <PostBuildEvent> 12 <PostBuildEvent>
13 <Command>xcopy "$(SolutionDir)data" "$(EmuBinDir)" /Y /S /D 13 <Command>xcopy "$(SolutionDir)data" "$(EmuBinDir)" /Y /S /D
14xcopy "$(ExternalsDir)glfw-3.0.2\lib-msvc100\glfw3.dll" "$(EmuBinDir)" /Y /S /D 14xcopy "$(ExternalsDir)glfw-3.0.4.bin\lib-msvc_$(PlatformToolset)-$(Platform)\glfw3.dll" "$(EmuBinDir)" /Y /S /D
15%(Command)</Command> 15%(Command)</Command>
16 </PostBuildEvent> 16 </PostBuildEvent>
17 <Link> 17 <Link>
diff --git a/vsprops/externals.props b/vsprops/externals.props
index d401fee5c..2d320c794 100644
--- a/vsprops/externals.props
+++ b/vsprops/externals.props
@@ -9,13 +9,13 @@
9 </PropertyGroup> 9 </PropertyGroup>
10 <ItemDefinitionGroup> 10 <ItemDefinitionGroup>
11 <ClCompile> 11 <ClCompile>
12 <AdditionalIncludeDirectories>$(ExternalsDir)glfw-3.0.2\include;$(ExternalsDir)qhexedit;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 12 <AdditionalIncludeDirectories>$(ExternalsDir)glfw-3.0.4.bin\include;$(ExternalsDir)qhexedit;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
13 <PreprocessorDefinitions> 13 <PreprocessorDefinitions>
14 </PreprocessorDefinitions> 14 </PreprocessorDefinitions>
15 </ClCompile> 15 </ClCompile>
16 <Lib /> 16 <Lib />
17 <Link> 17 <Link>
18 <AdditionalLibraryDirectories>$(ExternalsDir)glfw-3.0.2\lib-msvc100;$(ExternalsDir)libjpeg;$(ExternalsDir)sdl-2.0.0\lib\$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 18 <AdditionalLibraryDirectories>$(ExternalsDir)glfw-3.0.4.bin\lib-msvc_$(PlatformToolset)-$(Platform);$(ExternalsDir)libjpeg;$(ExternalsDir)sdl-2.0.0\lib\$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
19 <AdditionalDependencies>glfw3dll.lib;opengl32.lib;glu32.lib;%(AdditionalDependencies)</AdditionalDependencies> 19 <AdditionalDependencies>glfw3dll.lib;opengl32.lib;glu32.lib;%(AdditionalDependencies)</AdditionalDependencies>
20 <IgnoreSpecificDefaultLibraries> 20 <IgnoreSpecificDefaultLibraries>
21 </IgnoreSpecificDefaultLibraries> 21 </IgnoreSpecificDefaultLibraries>