Browse Source

Merge branch 'master' into 12.0-development

Alex Szpakowski 4 years ago
parent
commit
510354e276
2 changed files with 10 additions and 10 deletions
  1. 2 2
      readme.md
  2. 8 8
      src/libraries/glad/glad.hpp

+ 2 - 2
readme.md

@@ -67,7 +67,7 @@ There are also unstable/nightly builds:
 - Builds for some platforms are automatically created after each commit and are available through GitHub's CI interfaces.
 - Otherwise, some less frequently updated builds can can be found [here][builds].
 - For ubuntu linux they are in [ppa:bartbes/love-unstable][unstableppa]
-- For arch linux there's [love-hg][aur] in the AUR.
+- For arch linux there's [love-git][aur] in the AUR.
 
 Dependencies
 ------------
@@ -92,7 +92,7 @@ Dependencies
 [builds]: http://love2d.org/builds
 [stableppa]: https://launchpad.net/~bartbes/+archive/love-stable
 [unstableppa]: https://launchpad.net/~bartbes/+archive/love-unstable
-[aur]: http://aur.archlinux.org/packages/love-hg
+[aur]: http://aur.archlinux.org/packages/love-git
 [love-experiments]: https://github.com/slime73/love-experiments
 [codestyle]: https://love2d.org/wiki/Code_Style
 [android-repository]: https://github.com/love2d/love-android

+ 8 - 8
src/libraries/glad/glad.hpp

@@ -62,14 +62,6 @@
 
 #include <stddef.h>
 
-namespace glad {
-
-bool gladLoadGL(void);
-
-typedef void* (* LOADER)(const char *name);
-bool gladLoadGLLoader(LOADER);
-
-
 #ifndef GLEXT_64_TYPES_DEFINED
 /* This code block is duplicated in glxext.h, so must be protected */
 #define GLEXT_64_TYPES_DEFINED
@@ -107,6 +99,14 @@ typedef unsigned __int64 uint64_t;
 #include <inttypes.h>
 #endif
 #endif
+
+namespace glad {
+
+bool gladLoadGL(void);
+
+typedef void* (* LOADER)(const char *name);
+bool gladLoadGLLoader(LOADER);
+
 typedef unsigned int GLenum;
 typedef unsigned char GLboolean;
 typedef unsigned int GLbitfield;