Basicallly POC, but still somethign wrong with u_FontQuadParts
This commit is contained in:
@ -12,7 +12,7 @@ namespace Dawn {
|
||||
};
|
||||
|
||||
#pragma pack(push, 1)
|
||||
struct __attribute__ ((packed)) Color {
|
||||
struct Color {
|
||||
float_t r, g, b, a;
|
||||
|
||||
struct Color operator * (const float_t &x) {
|
||||
|
@ -51,7 +51,7 @@ void Dawn::_newTrueTypePlaceholder(
|
||||
charStore[c] = info;
|
||||
|
||||
// Buffer the pixels, oh dear GOD there has to be a more efficient way.
|
||||
for(int32_t i = 0; i < face->glyph->bitmap.rows; i++) {
|
||||
for(uint32_t i = 0; i < face->glyph->bitmap.rows; i++) {
|
||||
memoryCopy(
|
||||
(void *)(face->glyph->bitmap.buffer + (i * face->glyph->bitmap.width)),
|
||||
(void *)(buffer + offset),
|
||||
|
Reference in New Issue
Block a user