Simplify Asset Headers (#2474)
This commit is contained in:
@@ -1,16 +1,9 @@
|
||||
#pragma once
|
||||
#define dsShadowVtx "__OTR__overlays/ovl_En_Kanban/sShadowVtx"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char sShadowVtx[] = dsShadowVtx;
|
||||
#else
|
||||
static const char sShadowVtx[] __attribute__((aligned (2))) = dsShadowVtx;
|
||||
#endif
|
||||
|
||||
#define dsShadowDL "__OTR__overlays/ovl_En_Kanban/sShadowDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char sShadowDL[] = dsShadowDL;
|
||||
#else
|
||||
static const char sShadowDL[] __attribute__((aligned (2))) = dsShadowDL;
|
||||
#endif
|
||||
|
||||
|
||||
#include "align_asset_macro.h"
|
||||
|
||||
#define dsShadowVtx "__OTR__overlays/ovl_En_Kanban/sShadowVtx"
|
||||
static const ALIGN_ASSET(2) char sShadowVtx[] = dsShadowVtx;
|
||||
|
||||
#define dsShadowDL "__OTR__overlays/ovl_En_Kanban/sShadowDL"
|
||||
static const ALIGN_ASSET(2) char sShadowDL[] = dsShadowDL;
|
||||
Reference in New Issue
Block a user