diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2015-12-28 15:51:07 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2015-12-28 15:51:07 -0700 |
| commit | 9722858f4a219f930ed4d2d744454a31d69d5c1a (patch) | |
| tree | aad32bb1c407b7f349774733a94bc61acc225cf5 /layers | |
| parent | 205dee39569c65da1bdfa86b00c6a42276d39240 (diff) | |
| download | usermoji-9722858f4a219f930ed4d2d744454a31d69d5c1a.tar.xz | |
layers: Fix windows build issue with drawstate merge requests
Diffstat (limited to 'layers')
| -rw-r--r-- | layers/draw_state.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index f90fe78f..01c9a563 100644 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -26,8 +26,12 @@ * Author: Tobin Ehlis <tobine@google.com> * Author: Chia-I Wu <olv@google.com> * Author: Chris Forbes <chrisf@ijw.co.nz> + * Author: Mark Lobodzinski <mark@lunarg.com> */ +// Allow use of STL min and max functions in Windows +#define NOMINMAX + #include <stdio.h> #include <stdlib.h> #include <string.h> |
