Updated API version in comment headers.
diff --git a/src/clipboard.c b/src/clipboard.c
index f28c5c6..b5426c4 100644
--- a/src/clipboard.c
+++ b/src/clipboard.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 - www.glfw.org
+// GLFW 3.1 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/cocoa_clipboard.m b/src/cocoa_clipboard.m
index a58eb5c..6af5df6 100644
--- a/src/cocoa_clipboard.m
+++ b/src/cocoa_clipboard.m
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 OS X - www.glfw.org
+// GLFW 3.1 OS X - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/cocoa_gamma.c b/src/cocoa_gamma.c
index f2905f4..85fb50a 100644
--- a/src/cocoa_gamma.c
+++ b/src/cocoa_gamma.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 OS X - www.glfw.org
+// GLFW 3.1 OS X - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/cocoa_init.m b/src/cocoa_init.m
index 42b31c5..b605063 100644
--- a/src/cocoa_init.m
+++ b/src/cocoa_init.m
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 OS X - www.glfw.org
+// GLFW 3.1 OS X - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2009-2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/cocoa_joystick.m b/src/cocoa_joystick.m
index 7af1042..1e15763 100644
--- a/src/cocoa_joystick.m
+++ b/src/cocoa_joystick.m
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 OS X - www.glfw.org
+// GLFW 3.1 OS X - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2009-2010 Camilla Berglund <elmindreda@elmindreda.org>
 // Copyright (c) 2012 Torsten Walluhn <tw@mad-cad.net>
diff --git a/src/cocoa_monitor.m b/src/cocoa_monitor.m
index a0d20ff..2f53a32 100644
--- a/src/cocoa_monitor.m
+++ b/src/cocoa_monitor.m
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 OS X - www.glfw.org
+// GLFW 3.1 OS X - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/cocoa_platform.h b/src/cocoa_platform.h
index 4eb56e2..ea512e4 100644
--- a/src/cocoa_platform.h
+++ b/src/cocoa_platform.h
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 OS X - www.glfw.org
+// GLFW 3.1 OS X - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2009-2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/cocoa_time.c b/src/cocoa_time.c
index cb294cb..0ecb4c1 100644
--- a/src/cocoa_time.c
+++ b/src/cocoa_time.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 OS X - www.glfw.org
+// GLFW 3.1 OS X - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2009-2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/cocoa_window.m b/src/cocoa_window.m
index 0af84e0..6e24fe7 100644
--- a/src/cocoa_window.m
+++ b/src/cocoa_window.m
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 OS X - www.glfw.org
+// GLFW 3.1 OS X - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2009-2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/context.c b/src/context.c
index 3bc86bc..93b77d6 100644
--- a/src/context.c
+++ b/src/context.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 - www.glfw.org
+// GLFW 3.1 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/egl_context.c b/src/egl_context.c
index bab955f..f874f8a 100644
--- a/src/egl_context.c
+++ b/src/egl_context.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 EGL - www.glfw.org
+// GLFW 3.1 EGL - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/egl_platform.h b/src/egl_platform.h
index db9d837..38581ae 100644
--- a/src/egl_platform.h
+++ b/src/egl_platform.h
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 EGL - www.glfw.org
+// GLFW 3.1 EGL - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/gamma.c b/src/gamma.c
index 8d78304..a7ddfcd 100644
--- a/src/gamma.c
+++ b/src/gamma.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 - www.glfw.org
+// GLFW 3.1 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/glx_context.c b/src/glx_context.c
index 6b87000..5c4cf1d 100644
--- a/src/glx_context.c
+++ b/src/glx_context.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 GLX - www.glfw.org
+// GLFW 3.1 GLX - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/glx_platform.h b/src/glx_platform.h
index a8aaeeb..f070297 100644
--- a/src/glx_platform.h
+++ b/src/glx_platform.h
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 GLX - www.glfw.org
+// GLFW 3.1 GLX - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/init.c b/src/init.c
index ea826a0..4541462 100644
--- a/src/init.c
+++ b/src/init.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 - www.glfw.org
+// GLFW 3.1 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/input.c b/src/input.c
index 642c37f..493f244 100644
--- a/src/input.c
+++ b/src/input.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 - www.glfw.org
+// GLFW 3.1 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/internal.h b/src/internal.h
index a297037..1e06460 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 - www.glfw.org
+// GLFW 3.1 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/joystick.c b/src/joystick.c
index b53ea11..52aee9b 100644
--- a/src/joystick.c
+++ b/src/joystick.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 - www.glfw.org
+// GLFW 3.1 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/monitor.c b/src/monitor.c
index ecae3dd..02f7c6a 100644
--- a/src/monitor.c
+++ b/src/monitor.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 - www.glfw.org
+// GLFW 3.1 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/nsgl_context.m b/src/nsgl_context.m
index 71638ad..d3213da 100644
--- a/src/nsgl_context.m
+++ b/src/nsgl_context.m
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 OS X - www.glfw.org
+// GLFW 3.1 OS X - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2009-2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/nsgl_platform.h b/src/nsgl_platform.h
index 79158b5..ad2ee78 100644
--- a/src/nsgl_platform.h
+++ b/src/nsgl_platform.h
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 OS X - www.glfw.org
+// GLFW 3.1 OS X - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2009-2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/time.c b/src/time.c
index 6af4813..1a87125 100644
--- a/src/time.c
+++ b/src/time.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 - www.glfw.org
+// GLFW 3.1 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/wgl_context.c b/src/wgl_context.c
index 0b3610b..49e4f62 100644
--- a/src/wgl_context.c
+++ b/src/wgl_context.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 WGL - www.glfw.org
+// GLFW 3.1 WGL - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/wgl_platform.h b/src/wgl_platform.h
index ae17a16..5e79341 100644
--- a/src/wgl_platform.h
+++ b/src/wgl_platform.h
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 WGL - www.glfw.org
+// GLFW 3.1 WGL - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/win32_clipboard.c b/src/win32_clipboard.c
index 8fcba46..1b7f972 100644
--- a/src/win32_clipboard.c
+++ b/src/win32_clipboard.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 Win32 - www.glfw.org
+// GLFW 3.1 Win32 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/win32_gamma.c b/src/win32_gamma.c
index b062bcf..71abacc 100644
--- a/src/win32_gamma.c
+++ b/src/win32_gamma.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 Win32 - www.glfw.org
+// GLFW 3.1 Win32 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/win32_init.c b/src/win32_init.c
index aae46a9..47653a3 100644
--- a/src/win32_init.c
+++ b/src/win32_init.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 Win32 - www.glfw.org
+// GLFW 3.1 Win32 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/win32_joystick.c b/src/win32_joystick.c
index 1a17236..a68a9b4 100644
--- a/src/win32_joystick.c
+++ b/src/win32_joystick.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 Win32 - www.glfw.org
+// GLFW 3.1 Win32 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/win32_monitor.c b/src/win32_monitor.c
index acd6d82..ae45246 100644
--- a/src/win32_monitor.c
+++ b/src/win32_monitor.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 Win32 - www.glfw.org
+// GLFW 3.1 Win32 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/win32_platform.h b/src/win32_platform.h
index 7b626e8..5f781eb 100644
--- a/src/win32_platform.h
+++ b/src/win32_platform.h
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 Win32 - www.glfw.org
+// GLFW 3.1 Win32 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/win32_time.c b/src/win32_time.c
index 6c90895..4331119 100644
--- a/src/win32_time.c
+++ b/src/win32_time.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 Win32 - www.glfw.org
+// GLFW 3.1 Win32 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/win32_window.c b/src/win32_window.c
index 32e9376..3a0073d 100644
--- a/src/win32_window.c
+++ b/src/win32_window.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 Win32 - www.glfw.org
+// GLFW 3.1 Win32 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/window.c b/src/window.c
index 4e2b277..03d08fa 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 - www.glfw.org
+// GLFW 3.1 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/x11_clipboard.c b/src/x11_clipboard.c
index 614ba36..d8fd4d3 100644
--- a/src/x11_clipboard.c
+++ b/src/x11_clipboard.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 X11 - www.glfw.org
+// GLFW 3.1 X11 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/x11_gamma.c b/src/x11_gamma.c
index 1831263..8d3bb41 100644
--- a/src/x11_gamma.c
+++ b/src/x11_gamma.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 X11 - www.glfw.org
+// GLFW 3.1 X11 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2010 Camilla Berglund <elmindreda@elmindreda.org>
 //
diff --git a/src/x11_init.c b/src/x11_init.c
index 5571e08..98df596 100644
--- a/src/x11_init.c
+++ b/src/x11_init.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 X11 - www.glfw.org
+// GLFW 3.1 X11 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/x11_joystick.c b/src/x11_joystick.c
index 248ab12..0c49e61 100644
--- a/src/x11_joystick.c
+++ b/src/x11_joystick.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 X11 - www.glfw.org
+// GLFW 3.1 X11 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/x11_monitor.c b/src/x11_monitor.c
index e314c7b..b5113ca 100644
--- a/src/x11_monitor.c
+++ b/src/x11_monitor.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 X11 - www.glfw.org
+// GLFW 3.1 X11 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/x11_platform.h b/src/x11_platform.h
index 0f760e9..d798f52 100644
--- a/src/x11_platform.h
+++ b/src/x11_platform.h
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 X11 - www.glfw.org
+// GLFW 3.1 X11 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/x11_time.c b/src/x11_time.c
index d787d89..da8350f 100644
--- a/src/x11_time.c
+++ b/src/x11_time.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 X11 - www.glfw.org
+// GLFW 3.1 X11 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/x11_unicode.c b/src/x11_unicode.c
index b847e0f..445f14f 100644
--- a/src/x11_unicode.c
+++ b/src/x11_unicode.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 X11 - www.glfw.org
+// GLFW 3.1 X11 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
diff --git a/src/x11_window.c b/src/x11_window.c
index 7741927..ff2963d 100644
--- a/src/x11_window.c
+++ b/src/x11_window.c
@@ -1,5 +1,5 @@
 //========================================================================
-// GLFW 3.0 X11 - www.glfw.org
+// GLFW 3.1 X11 - www.glfw.org
 //------------------------------------------------------------------------
 // Copyright (c) 2002-2006 Marcus Geelnard
 // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>