Modified Files:
simgear/scene/util/SGDebugDrawCallback.hxx simgear/math/SGQuat.hxx: Olaf Flebbe: Make it compile on some more win32 variants.
This commit is contained in:
@@ -26,6 +26,11 @@
|
|||||||
#undef max
|
#undef max
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// for microsoft compiler
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#define copysign _copysign
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <osg/Quat>
|
#include <osg/Quat>
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|||||||
@@ -131,7 +131,9 @@ do { \
|
|||||||
PRINT_STATE(GL_STENCIL_TEST);
|
PRINT_STATE(GL_STENCIL_TEST);
|
||||||
PRINT_STATE(GL_TEXTURE_1D);
|
PRINT_STATE(GL_TEXTURE_1D);
|
||||||
PRINT_STATE(GL_TEXTURE_2D);
|
PRINT_STATE(GL_TEXTURE_2D);
|
||||||
|
#ifdef GL_TEXTURE_3D
|
||||||
PRINT_STATE(GL_TEXTURE_3D);
|
PRINT_STATE(GL_TEXTURE_3D);
|
||||||
|
#endif
|
||||||
PRINT_STATE(GL_TEXTURE_GEN_Q);
|
PRINT_STATE(GL_TEXTURE_GEN_Q);
|
||||||
PRINT_STATE(GL_TEXTURE_GEN_R);
|
PRINT_STATE(GL_TEXTURE_GEN_R);
|
||||||
PRINT_STATE(GL_TEXTURE_GEN_S);
|
PRINT_STATE(GL_TEXTURE_GEN_S);
|
||||||
|
|||||||
Reference in New Issue
Block a user