mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-01-09 11:21:37 +00:00
51f3acd21a
for some reason neo/tools/compilers/dmap/optimize.cpp included windows.h and GL/gl.h before including dmap.h, which indirectly includes qgl.h. This made things in qgl.h explode - seems like APIENTRYP in the QGLPROC() macro expanded to bullshit because of some APIENTRYP or APIENTRY definition in windows.h or GL/gl.h Those includes are totally unnecessary, dmap.h -> qgl.h already includes GL/gl.h, indirectly via SDL_opengl.h and in that setup things somehow are fine. |
||
---|---|---|
.. | ||
dmap.cpp | ||
dmap.h | ||
facebsp.cpp | ||
gldraw.cpp | ||
glfile.cpp | ||
leakfile.cpp | ||
map.cpp | ||
optimize.cpp | ||
output.cpp | ||
portals.cpp | ||
shadowopt3.cpp | ||
tritjunction.cpp | ||
tritools.cpp | ||
ubrush.cpp | ||
usurface.cpp |