mirror of https://github.com/axmolengine/axmol.git
comments
This commit is contained in:
parent
9a01b76fec
commit
babbac4e38
|
@ -971,6 +971,7 @@ void Director::purgeDirector()
|
||||||
#pragma warning (push)
|
#pragma warning (push)
|
||||||
#pragma warning (disable: 4996)
|
#pragma warning (disable: 4996)
|
||||||
#endif
|
#endif
|
||||||
|
//it will crash clang static analyzer so hide it if __clang_analyzer__ defined
|
||||||
#ifndef __clang_analyzer__
|
#ifndef __clang_analyzer__
|
||||||
DrawPrimitives::free();
|
DrawPrimitives::free();
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -87,6 +87,7 @@ void ccDrawInit()
|
||||||
|
|
||||||
void ccDrawFree()
|
void ccDrawFree()
|
||||||
{
|
{
|
||||||
|
//it will crash clang static analyzer so hide it if __clang_analyzer__ defined
|
||||||
#ifndef __clang_analyzer__
|
#ifndef __clang_analyzer__
|
||||||
DrawPrimitives::free();
|
DrawPrimitives::free();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue