SCons: Fix MSVC bypassing disabled warnings
This commit is contained in:
@@ -35,17 +35,8 @@
|
||||
#include "core/os/os.h"
|
||||
#include "scene/resources/image_texture.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4127)
|
||||
#endif
|
||||
|
||||
#include "thirdparty/misc/yuv2rgb.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
int VideoStreamPlaybackTheora::buffer_data() {
|
||||
char *buffer = ogg_sync_buffer(&oy, 4096);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user