1
0
mirror of synced 2024-11-24 15:50:16 +01:00
ImHex/lib
Eve 7a1efa8b9a
fix: MacOS not finding GL.h (#1436)
### Problem description
Commit 1249eb3261 added `#include
<GL/gl.h>` in a file, but MacOS uses `<OpenGL/gl.h>`.

### Implementation description
If compiling on MacOS, use `<OpenGL/gl.h>`. Otherwise, use `<GL/gl.h>`.

### Additional things
There is a redefine, so I used the preprocessor to ignore it for MacOS.
This feels a little awkward to me (but I don't know how to do it
better).

I'm not particularly familiar with C++, so let me know if this is the
right solution. This is also my first pull request, so feel free to
roast me for anything else :)
2023-11-19 11:57:18 +01:00
..
external patterns: Updated pattern language 2023-11-16 08:47:06 +01:00
libimhex fix: Potential crash when loading null values from settings 2023-11-18 17:23:50 +01:00
third_party fix: MacOS not finding GL.h (#1436) 2023-11-19 11:57:18 +01:00