Allow display wrapping to be specified per shape
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user