commit | 0752648a993c6f0fae2f4a072079000b9d84d074 | [log] [tgz] |
---|---|---|
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | Wed Apr 15 22:48:46 2020 +0200 |
committer | Marge Bot <eric+marge@anholt.net> | Thu Apr 16 14:48:40 2020 +0000 |
tree | a8553b2be683d97d59353e1b7dcdf2cdbe078a4d | |
parent | b55b033f7624171d82ae1f79f3d3ad058ae0ac56 [diff] |
vbo: avoid including wingdi.h on win32 On Windows, main/glheader.h ends up including windows.h which in turn includes wingdi.h unless the NOGDI macro is defined. And wingdi.h defines a macro called "ERROR", which we end up redefining below. To avoid a warning on the redefinition, we can define NOGDI to prevent wingdi.h from implicitly being included. Reviewed-by: Brian Paul <brianp@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4577>