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:
frohlich
2006-11-07 05:46:25 +00:00
parent 829c729ee9
commit 1f32786c82
2 changed files with 7 additions and 0 deletions

View File

@@ -26,6 +26,11 @@
#undef max
#endif
// for microsoft compiler
#ifdef _MSC_VER
#define copysign _copysign
#endif
#include <osg/Quat>
template<typename T>

View File

@@ -131,7 +131,9 @@ do { \
PRINT_STATE(GL_STENCIL_TEST);
PRINT_STATE(GL_TEXTURE_1D);
PRINT_STATE(GL_TEXTURE_2D);
#ifdef GL_TEXTURE_3D
PRINT_STATE(GL_TEXTURE_3D);
#endif
PRINT_STATE(GL_TEXTURE_GEN_Q);
PRINT_STATE(GL_TEXTURE_GEN_R);
PRINT_STATE(GL_TEXTURE_GEN_S);