mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-24 20:18:30 +00:00
Fix warnings in raylib for MSVC (#3004)
This commit is contained in:
@@ -228,6 +228,14 @@ typedef struct tagBITMAPINFOHEADER {
|
||||
#define QOA_MALLOC RL_MALLOC
|
||||
#define QOA_FREE RL_FREE
|
||||
|
||||
#if defined(_MSC_VER ) // par shapes has 2 warnings on windows, so disable them just fof this file
|
||||
#pragma warning( push )
|
||||
#pragma warning( disable : 4018)
|
||||
#pragma warning( disable : 4267)
|
||||
#pragma warning( disable : 4244)
|
||||
#endif
|
||||
|
||||
|
||||
#define QOA_IMPLEMENTATION
|
||||
#include "external/qoa.h" // QOA loading and saving functions
|
||||
#include "external/qoaplay.c" // QOA stream playing helper functions
|
||||
|
Reference in New Issue
Block a user