mirror of
https://github.com/nicbarker/clay.git
synced 2025-09-18 12:36:17 +00:00
removed unused struct
This commit is contained in:
parent
5471b2e950
commit
f4cb35197b
|
@ -1,13 +1,6 @@
|
||||||
#include "pd_api.h"
|
#include "pd_api.h"
|
||||||
#include "../../clay.h"
|
#include "../../clay.h"
|
||||||
|
|
||||||
struct Clay_Playdate_Rect {
|
|
||||||
float x;
|
|
||||||
float y;
|
|
||||||
float w;
|
|
||||||
float h;
|
|
||||||
};
|
|
||||||
|
|
||||||
// Playdate drawText function expects the number of codepoints to draw, not byte length
|
// Playdate drawText function expects the number of codepoints to draw, not byte length
|
||||||
static size_t Clay_Playdate_CountUtf8Codepoints(const char *str, size_t byteLen) {
|
static size_t Clay_Playdate_CountUtf8Codepoints(const char *str, size_t byteLen) {
|
||||||
size_t count = 0;
|
size_t count = 0;
|
||||||
|
|
Loading…
Reference in a new issue