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