mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
commit
1657b9b7c4
@ -2496,11 +2496,12 @@ typedef struct
|
||||
#define ALIGN(x) __declspec(align(x))
|
||||
#else
|
||||
#define ALIGN(x) __attribute__((aligned(x)))
|
||||
#define static_assert _Static_assert
|
||||
#endif
|
||||
#endif
|
||||
|
||||
ALIGN(16)
|
||||
typedef struct
|
||||
|
||||
typedef struct ALIGN(16)
|
||||
{
|
||||
math_matrix_4x4 mvp;
|
||||
struct
|
||||
@ -2511,6 +2512,8 @@ typedef struct
|
||||
float time;
|
||||
} d3d11_uniform_t;
|
||||
|
||||
static_assert(!(sizeof(d3d11_uniform_t)&0xF), "sizeof(d3d11_uniform_t) must be a multiple of 16");
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unsigned cur_mon_id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user