mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-09 17:08:08 +00:00
[client] nanosvg: disable warning for release builds
This commit is contained in:

committed by
Geoffrey McRae

parent
870eb8c670
commit
b7e3ef6824
@@ -29,7 +29,15 @@
|
|||||||
#define NANOSVG_IMPLEMENTATION
|
#define NANOSVG_IMPLEMENTATION
|
||||||
#define NANOSVG_ALL_COLOR_KEYWORDS
|
#define NANOSVG_ALL_COLOR_KEYWORDS
|
||||||
#define NANOSVGRAST_IMPLEMENTATION
|
#define NANOSVGRAST_IMPLEMENTATION
|
||||||
#include "nanosvgrast.h"
|
|
||||||
|
#ifndef __clang__
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||||
|
#include "nanosvgrast.h"
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
#else
|
||||||
|
#include "nanosvgrast.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
void overlayGetImGuiRect(struct Rect * rect)
|
void overlayGetImGuiRect(struct Rect * rect)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user