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