Anuraag Agrawal
c050e33aa0
Define APIENTRY in osmesa build if not defined.
2024-04-25 08:31:48 +10:00
Ned Loynd
52ce1cc575
Check the macOS deployment target before using dlfcn
2023-03-15 22:28:10 +10:00
ibbem
37e6144802
Remove broken end of string checks in _glewStrSame
...
I think this code tried to check for a zero terminated null byte, but it
actually just checked if the address of the corresponding character is
non-zero, which is always true. These broken checks are simply dropped
because the following code assumes that the string `b` doesn't include a
null byte and all call sites already pass the length of the string
without counting the null byte.
This bug was found by gcc 12.1 which emits a warning on this kind of
code. Now glew builds without any warnings using gcc 12.1. See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102103 for the
corresponding issue.
2022-06-13 12:21:23 +10:00
Bertie Wheen
c6673b15bf
Remove unnecessary code
...
Resolves #349 (I think)
2022-04-02 12:30:19 +10:00
G'lek Tarssza
35d928bc77
Fixed failing build on Windows when using LLVM.
...
Failure caused by `llvm-rc` failing on non-ASCII code point for
copyright symbol.
2022-02-20 18:52:10 +10:00
Nigel Stewart
715afa0ff5
Extend GLEW API to support glewContextInit - GL without implied GLX, WGL, EGL initialisation
2021-08-29 09:11:11 +10:00
Nigel Stewart
ea2076658a
glewGetErrorString for GLEW_ERROR_NO_GLX_DISPLAY (added in 2016)
2021-08-29 09:10:04 +10:00
Nigel Stewart
749aec8b9b
Documentation refresh for GLEW 2.2.0, downloads from github
2021-01-10 12:23:57 +10:00
Nigel Stewart
8c88a0858f
EGLEW: Wayland wl_buffer declaration for WL_bind_wayland_display
2021-01-10 11:52:31 +10:00
Nigel Stewart
d68cb03149
EGLEW: Wayland wl_display and wl_resource declarations for WL_bind_wayland_display
2021-01-10 11:50:29 +10:00
Christian Rauch
3cdab58d4e
fix typo
2020-12-13 23:24:55 +10:00
Nicolas Caramelli
75e3154422
The file include/GL/gl.h generated from OpenGL-Registry uses __gl_gl_h_
2020-12-04 16:45:04 +10:00
Tim Gates
bfc724c6cc
docs: fix simple typo, direcly -> directly
...
There is a small typo in auto/src/glew_head.c.
Should read `directly` rather than `direcly`.
2020-11-28 10:28:05 +10:00
Nigel Stewart
9fb23c3e61
Documentation updates for GLEW 2.2.0 release
2020-03-15 21:59:54 +10:00
Nigel Stewart
5509e2e13e
Resolve gcc -Wshadow / MS C4456 compilation warning(s)
2019-09-27 22:08:15 +10:00
Nigel Stewart
47588720ee
Extend GLEW_INCLUDE support to eglew.h and glxew.h
2019-06-13 09:28:51 +10:00
Nigel Stewart
3565eacf87
Include cstddef and cstdint (rather than C versions) for C++ compiler on macOS and Linux
2019-03-19 20:08:48 +10:00
Nigel Stewart
6f31e134f6
Extend glewinfo to support optional -experimental mode, default to normal mode of operation
2019-02-02 15:03:57 +10:00
Nigel Stewart
103b3d156e
Update copyright information for 2019
2019-02-02 14:19:42 +10:00
TheVice
b48ded757e
[glewinfo] added using of 'sscanf_s' function for some build environment.
2019-01-28 21:04:41 +10:00
Deve
7f65a36866
Fixed compilation with current mesa versions.
...
As you can see in
https://cgit.freedesktop.org/mesa/mesa/tree/include/GL/glext.h
now the file uses __gl_glext_h_ instead of __glext_h_
It's precisely caused by commit f7d42ee7d319256608ad60778f6787c140badada
2018-12-29 20:22:04 +10:00
Nigel Stewart
03afadd4f2
Using EGL-Registry for EGL support
2018-10-10 13:59:11 +10:00
Nigel Stewart
be4e0eb102
Using KhronosGroup/OpenGL-Registry git repository for extension specifications
2018-10-10 11:08:45 +10:00
Nigel Stewart
2af38d87be
Fixup for GLEW_VERSION_4_5 version detection
2017-12-02 09:16:46 +10:00
Nigel Stewart
3a8eff77da
glewinfo fixup for MacOS core context mode with version>4.0+
2017-07-31 21:11:51 +10:00
Nigel Stewart
1fe2ca4f37
Bump GLEW version to 2.1.0
2017-07-31 20:24:29 +10:00
Nigel Stewart
4b40314cc0
Initial OpenGL 4.6 support
2017-07-31 20:24:29 +10:00
Nigel Stewart
f678171b69
Fix for glxewInit - we need GLX 1.2 for calling glXGetCurrentDisplay
2017-04-27 20:43:33 +10:00
Nigel Stewart
60139a6cfb
Initial draft of release notes for upcoming GLEW 2.0.1
2017-04-23 12:16:50 +10:00
Nigel Stewart
a82b984534
Add support for GLEW_INCLUDE to allow including glew.h from a custom location
2017-04-23 11:51:09 +10:00
Nigel Stewart
239fde0a43
Update copyright notice to 2017
2017-01-08 10:30:28 +10:00
Nigel Stewart
b79702c6b7
Bump the copyright notice to 2016
2016-11-13 14:33:55 +10:00
Nigel Stewart
2c6ad763af
glxewInit check for current X11 display rather than crashing
2016-11-13 12:08:32 +10:00
Dillon Cower
2ca0184814
Move #undef NOGDI from wglew_head.h to glew_head.c
2016-08-27 22:59:50 -07:00
Dillon Cower
4a0d48fc7c
Fix wglGetProcAddress-related crash on Windows with NOGDI defined
2016-08-27 16:52:16 -07:00
Nigel Stewart
55b8951c96
Update documentation for GLEW 2.0.0 release
2016-07-24 10:39:11 +10:00
Nigel Stewart
26d8275c61
Sourceforge Patch #67 Fix build failure on OS X < 10.7
2016-07-09 14:23:57 +10:00
Nigel Stewart
2e5443a5a2
New snapshot available, GLEW 2.0.0 RC
2016-07-08 22:28:40 +10:00
Nigel Stewart
54ce3fb039
EGLnsecsANDROID typedef for eglew.h
2016-06-17 23:37:13 +10:00
Nigel Stewart
f1a40e2fea
Direct linking of glGetString and glGetIntegerv is necessary for Windows/WGL
2016-04-02 13:27:32 +10:00
Nigel Stewart
c4bade8726
Resolve some gcc compilation warnings
2016-02-19 22:30:48 +10:00
Wes Tarro
9548431bd0
Moved DLL entry-point for GCC into glew.c rather than a standalone file
...
included using CMake.
2016-02-15 15:15:33 -05:00
Wes Tarro
02fc17f511
Fix warnings and CMake issue.
2016-02-06 13:35:13 -05:00
Wes Tarro
32b2ea5266
Fixed building with GCC - needed different options and had to create a dummy
...
DLL entry to avoid crashes.
2016-02-06 13:13:04 -05:00
Wes Tarro
969faeafdf
Merge branch 'master' of https://github.com/nigels-com/glew
2016-02-06 11:01:02 -05:00
Nigel Stewart
a288050b57
EGL glewinfo now working for both Nvidia and Mesa implementations
2016-02-06 12:41:20 +10:00
Nigel Stewart
23438663d6
For EGL purpose avoid using linked glGetString, load it via eglGetProcAddress instead.
2016-02-06 12:41:19 +10:00
Nigel Stewart
4d9010864e
eglewInit takes EGLDisplay parameter, will do eglIntialize internally, for now
2016-02-06 12:41:18 +10:00
Nigel Stewart
15881f0421
EGL fixup for void parameter lists, additional defines
2016-02-06 12:41:17 +10:00
Nigel Stewart
a755351991
EGL fix: eglewInit and glewinfo need to manually load some EGL functions
2016-02-06 12:41:16 +10:00