Added disabling of VisualStudio warning C4324 : structure was padded due to __declspec(align())
This commit is contained in:
@@ -38,6 +38,10 @@
|
||||
// #include <GL/glu.h>
|
||||
#include <osg/GLU>
|
||||
|
||||
#if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS)
|
||||
// disable "structure was padded due to __declspec(align())
|
||||
#pragma warning( disable : 4324 )
|
||||
#endif
|
||||
|
||||
#ifndef GLAPIENTRY
|
||||
#define GLAPIENTRY GL_APIENTRY
|
||||
|
||||
@@ -9,6 +9,11 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS)
|
||||
// disable "structure was padded due to __declspec(align())
|
||||
#pragma warning( disable : 4324 )
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Follows is code extracted from the simage library. Original Authors:
|
||||
|
||||
Reference in New Issue
Block a user