Cleanup.
This commit is contained in:
parent
2230c23b76
commit
38a5b5ae44
2
3rdparty/ocornut-imgui/imgui.h
vendored
2
3rdparty/ocornut-imgui/imgui.h
vendored
@ -30,7 +30,7 @@
|
||||
#endif
|
||||
|
||||
// Some compilers support applying printf-style warnings to user functions.
|
||||
#if defined(__clang__) || defined(__GNUC__)
|
||||
#if 0 //defined(__clang__) || defined(__GNUC__)
|
||||
#define IM_PRINTFARGS(FMT) __attribute__((format(printf, FMT, (FMT+1))))
|
||||
#else
|
||||
#define IM_PRINTFARGS(FMT)
|
||||
|
@ -2513,7 +2513,7 @@ namespace bgfx
|
||||
|
||||
errorState = ErrorState::ContextAllocated;
|
||||
|
||||
s_ctx = BX_ALIGNED_NEW(g_allocator, Context, 16);
|
||||
s_ctx = BX_ALIGNED_NEW(g_allocator, Context, 64);
|
||||
if (s_ctx->init(_type) )
|
||||
{
|
||||
BX_TRACE("Init complete.");
|
||||
@ -2526,7 +2526,7 @@ error:
|
||||
switch (errorState)
|
||||
{
|
||||
case ErrorState::ContextAllocated:
|
||||
BX_ALIGNED_DELETE(g_allocator, s_ctx, 16);
|
||||
BX_ALIGNED_DELETE(g_allocator, s_ctx, 64);
|
||||
s_ctx = NULL;
|
||||
|
||||
case ErrorState::Default:
|
||||
|
Loading…
Reference in New Issue
Block a user