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