mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-22 14:45:06 +00:00
Merge https://github.com/nigels-com/glew.git into master HEAD at Tue Dec 29 11:02:17 GMT 2020
This commit is contained in:
commit
04007493ce
12
.lgtm.yml
Normal file
12
.lgtm.yml
Normal file
@ -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"
|
@ -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. */
|
||||
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user