diff options
Diffstat (limited to 'payloads/libpayload/include/cbgfx.h')
-rw-r--r-- | payloads/libpayload/include/cbgfx.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/payloads/libpayload/include/cbgfx.h b/payloads/libpayload/include/cbgfx.h index ffd8534d13..54d395395a 100644 --- a/payloads/libpayload/include/cbgfx.h +++ b/payloads/libpayload/include/cbgfx.h @@ -30,8 +30,8 @@ #define CBGFX_ERROR_SCALE_OUT_OF_RANGE 0x13 struct fraction { - int32_t nume; - int32_t deno; + int32_t n; + int32_t d; }; struct scale { @@ -147,5 +147,4 @@ int draw_bitmap(const void *bitmap, size_t size, * @return CBGFX_* error codes */ int draw_bitmap_direct(const void *bitmap, size_t size, - const struct vector *pos); - + const struct vector *top_left); |