From 7764128044d0b4d5f6ce2cfb875e0ae52bd89659 Mon Sep 17 00:00:00 2001 From: Alexey Tereshenkov <59651540+alexey-tereshenkov-oxb@users.noreply.github.com> Date: Fri, 3 Apr 2020 14:39:00 +0100 Subject: [PATCH 1/5] Add lgtm.yml configuration file Allow LGTM.com use the custom configuration to analyze C++ code of the project --- lgtm.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lgtm.yml diff --git a/lgtm.yml b/lgtm.yml new file mode 100644 index 0000000..6bd850c --- /dev/null +++ b/lgtm.yml @@ -0,0 +1,12 @@ +extraction: + cpp: + prepare: + packages: + - "build-essential" + - "libxmu-dev" + - "libxi-dev" + - "libgl-dev" + index: + build_command: + - "cd auto; make all -j8; cd .." + - "make all -j8" From 0b97f2568d31e14d96e600e31b14522e679cad35 Mon Sep 17 00:00:00 2001 From: Alexey Tereshenkov <59651540+alexey-tereshenkov-oxb@users.noreply.github.com> Date: Mon, 6 Apr 2020 09:26:18 +0100 Subject: [PATCH 2/5] Rename lgtm.yml to hide the file --- lgtm.yml => .lgtm.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename lgtm.yml => .lgtm.yml (100%) diff --git a/lgtm.yml b/.lgtm.yml similarity index 100% rename from lgtm.yml rename to .lgtm.yml From bfc724c6cc4f8cb39caf1d6ddc89b3e8045bbd17 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 28 Nov 2020 09:26:48 +1100 Subject: [PATCH 3/5] docs: fix simple typo, direcly -> directly There is a small typo in auto/src/glew_head.c. Should read `directly` rather than `direcly`. --- auto/src/glew_head.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/src/glew_head.c b/auto/src/glew_head.c index dbd18f2..832ded7 100644 --- a/auto/src/glew_head.c +++ b/auto/src/glew_head.c @@ -28,7 +28,7 @@ #if defined(GLEW_EGL) #elif defined(GLEW_REGAL) -/* In GLEW_REGAL mode we call direcly into the linked +/* In GLEW_REGAL mode we call directly into the linked libRegal.so glGetProcAddressREGAL for looking up the GL function pointers. */ From 75e3154422c4bdb686e3095322370edd5502b30d Mon Sep 17 00:00:00 2001 From: Nicolas Caramelli Date: Fri, 4 Dec 2020 07:42:29 +0100 Subject: [PATCH 4/5] The file include/GL/gl.h generated from OpenGL-Registry uses __gl_gl_h_ --- auto/src/glew_head.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auto/src/glew_head.h b/auto/src/glew_head.h index ad48840..cfa4007 100644 --- a/auto/src/glew_head.h +++ b/auto/src/glew_head.h @@ -2,7 +2,7 @@ #define __glew_h__ #define __GLEW_H__ -#if defined(__gl_h_) || defined(__GL_H__) || defined(_GL_H) || defined(__X_GL_H) +#if defined(__gl_h_) || defined(__GL_H__) || defined(_GL_H) || defined(__gl_gl_h_) || defined(__X_GL_H) #error gl.h included before glew.h #endif #if defined(__gl2_h_) @@ -25,6 +25,7 @@ #define __gl2_h_ #define __GL_H__ #define _GL_H +#define __gl_gl_h_ #define __gltypes_h_ #define __REGAL_H__ #define __X_GL_H From 3cdab58d4ef6f9b18da98985daf8f7dfa4feb954 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sun, 13 Dec 2020 12:09:36 +0000 Subject: [PATCH 5/5] fix typo --- auto/src/glew_init_egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/src/glew_init_egl.c b/auto/src/glew_init_egl.c index 784285f..1502ef6 100644 --- a/auto/src/glew_init_egl.c +++ b/auto/src/glew_init_egl.c @@ -25,7 +25,7 @@ GLenum eglewInit (EGLDisplay display) if (!initialize || !queryString) return 1; - /* query EGK version */ + /* query EGL version */ if (initialize(display, &major, &minor) != EGL_TRUE) return 1;