summaryrefslogtreecommitdiff
path: root/sdl2
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-05-12 16:39:50 -0400
committerDavid Thompson <dthompson2@worcester.edu>2020-05-12 16:39:50 -0400
commit1b7cdecf240859baa497f10215f3ebf72ec46963 (patch)
tree6978f921b6e0f1b31a233af394044706e5a2717e /sdl2
parentde196a85c4353467a1b73e5c05405eb2c09426fa (diff)
ttf: Fix bytevector offsets in font-glyph-metrics.
-_______________-
Diffstat (limited to 'sdl2')
-rw-r--r--sdl2/ttf.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdl2/ttf.scm b/sdl2/ttf.scm
index 9d13713..a20ae69 100644
--- a/sdl2/ttf.scm
+++ b/sdl2/ttf.scm
@@ -81,8 +81,8 @@ the following format: (minx maxx miny maxy advance)"
(bytevector->pointer bv)
(bytevector->pointer bv 4)
(bytevector->pointer bv 8)
- (bytevector->pointer bv 16)
- (bytevector->pointer bv 32)))
+ (bytevector->pointer bv 12)
+ (bytevector->pointer bv 16)))
(s32vector->list bv)
(sdl-error "font-glyph-metrics" "failed to get glyph metrics"))))