Browse Source

MSVC 2013 compatibility: added missing headers.

Not sure how this is done in GCC and Clang, they don't need ~60k LOC
<algorithm> just for std::max().
Vladimír Vondruš 13 years ago
parent
commit
51f7230ed2
  1. 2
      src/AbstractShaderProgram.cpp
  2. 1
      src/Math/Functions.h
  3. 1
      src/Shader.cpp

2
src/AbstractShaderProgram.cpp

@ -24,6 +24,8 @@
#include "AbstractShaderProgram.h"
#include <algorithm> /* std::max(), needed by MSVC */
#include "Math/RectangularMatrix.h"
#include "Extensions.h"
#include "Shader.h"

1
src/Math/Functions.h

@ -25,6 +25,7 @@
*/
#include <cmath>
#include <algorithm> /* std::max(), needed by MSVC */
#include <limits>
#include <type_traits>
#include <utility>

1
src/Shader.cpp

@ -24,6 +24,7 @@
#include "Shader.h"
#include <algorithm> /* std::max(), needed by MSVC */
#include <fstream>
#include <Containers/Array.h>
#include <Utility/Assert.h>

Loading…
Cancel
Save