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