Allow display wrapping to be specified per shape

This commit is contained in:
2025-10-18 17:43:22 +01:00
parent 5da6b00fc8
commit 7aa582f04b
3 changed files with 39 additions and 22 deletions

View File

@@ -7,6 +7,9 @@
#define MAX_VERTS 8U
#define WRAP 1
#define CONNECT (1 << 1)
typedef struct {
int drm_fd;
float aspect;
@@ -19,6 +22,7 @@ void renderer_handle();
void renderer_clear();
void renderer_swap();
void renderer_draw(const vec2_t *vs, unsigned count, mat3_t model);
void renderer_draw(
const vec2_t *vs, unsigned count, mat3_t model, uint8_t flags);
#endif