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