mirror of https://github.com/bjornbytes/lovr.git
Adjust Buffer padding so it's 48 bytes;
This commit is contained in:
parent
8d8f4eef73
commit
80eaea21f1
|
@ -24,10 +24,10 @@ typedef struct Buffer {
|
|||
size_t size;
|
||||
size_t flushFrom;
|
||||
size_t flushTo;
|
||||
bool mapped;
|
||||
bool readable;
|
||||
BufferType type;
|
||||
BufferUsage usage;
|
||||
bool mapped;
|
||||
bool readable;
|
||||
GPU_BUFFER_FIELDS
|
||||
} Buffer;
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
#pragma once
|
||||
|
||||
#define GPU_BUFFER_FIELDS \
|
||||
uint32_t id; \
|
||||
uint8_t incoherent;
|
||||
uint8_t incoherent; \
|
||||
uint32_t id;
|
||||
|
||||
#define GPU_CANVAS_FIELDS \
|
||||
uint32_t framebuffer; \
|
||||
|
|
Loading…
Reference in New Issue