X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fscreen%2FRenderTexture.cpp;h=ad594117edfefbe1049ab4a41aea54e0da8b9933;hb=bbd61977f14c30ce93a2bcf5a3551708d36a29c8;hp=0b2b63590283de24ef72dfa71f2c3c92a74a8a3f;hpb=9cbbe5559844317f44744788ddb308101a1e75e9;p=simgear.git diff --git a/simgear/screen/RenderTexture.cpp b/simgear/screen/RenderTexture.cpp index 0b2b6359..ad594117 100644 --- a/simgear/screen/RenderTexture.cpp +++ b/simgear/screen/RenderTexture.cpp @@ -39,9 +39,6 @@ * Implementation of class RenderTexture. A multi-format render to * texture wrapper. */ -#ifdef _MSC_VER -#pragma warning(disable:4786) -#endif /* * Changelog: @@ -339,11 +336,7 @@ void PrintExtensionError( const char* strMsg, ... ) char strBuffer[512]; va_list args; va_start(args, strMsg); -#if defined _WIN32 && !defined __CYGWIN__ - _vsnprintf( strBuffer, 512, strMsg, args ); -#else vsnprintf( strBuffer, 512, strMsg, args ); -#endif va_end(args); SG_LOG(SG_GL, SG_ALERT, strMsg); @@ -1055,11 +1048,7 @@ bool RenderTexture::Reset(const char *strMode, ...) va_list args; char strBuffer[256]; va_start(args,strMode); -#if defined _WIN32 && !defined __CYGWIN__ - _vsnprintf( strBuffer, 256, strMode, args ); -#else vsnprintf( strBuffer, 256, strMode, args ); -#endif va_end(args); _ParseModeString(strBuffer, _pixelFormatAttribs, _pbufferAttribs);