mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-24 08:02:48 -06:00
GPU: Fix a compiler warning about redundant semicolons.
This commit is contained in:
parent
2f1c129f64
commit
941762a573
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ struct Regs {
|
||||||
// depending on the current source line to make sure variable names are unique.
|
// depending on the current source line to make sure variable names are unique.
|
||||||
#define INSERT_PADDING_WORDS_HELPER1(x, y) x ## y
|
#define INSERT_PADDING_WORDS_HELPER1(x, y) x ## y
|
||||||
#define INSERT_PADDING_WORDS_HELPER2(x, y) INSERT_PADDING_WORDS_HELPER1(x, y)
|
#define INSERT_PADDING_WORDS_HELPER2(x, y) INSERT_PADDING_WORDS_HELPER1(x, y)
|
||||||
#define INSERT_PADDING_WORDS(num_words) u32 INSERT_PADDING_WORDS_HELPER2(pad, __LINE__)[(num_words)];
|
#define INSERT_PADDING_WORDS(num_words) u32 INSERT_PADDING_WORDS_HELPER2(pad, __LINE__)[(num_words)]
|
||||||
|
|
||||||
// helper macro to make sure the defined structures are of the expected size.
|
// helper macro to make sure the defined structures are of the expected size.
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
@ -53,7 +53,7 @@ struct Regs {
|
||||||
#else
|
#else
|
||||||
#define ASSERT_MEMBER_SIZE(name, size_in_bytes) \
|
#define ASSERT_MEMBER_SIZE(name, size_in_bytes) \
|
||||||
static_assert(sizeof(name) == size_in_bytes, \
|
static_assert(sizeof(name) == size_in_bytes, \
|
||||||
"Structure size and register block length don't match");
|
"Structure size and register block length don't match")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum class FramebufferFormat : u32 {
|
enum class FramebufferFormat : u32 {
|
||||||
|
|
Loading…
Reference in a new issue