diff options
Diffstat (limited to 'sdl2/render.scm')
-rw-r--r-- | sdl2/render.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sdl2/render.scm b/sdl2/render.scm index d9f3507..948e256 100644 --- a/sdl2/render.scm +++ b/sdl2/render.scm @@ -137,7 +137,8 @@ color." (ffi:sdl-render-get-logical-size (unwrap-renderer renderer) (bytevector->pointer bv) (bytevector->pointer (sizeof int))) - (bytevector->sint-list bv (native-endianness) (sizeof int)))) + (values (bytevector-sint-ref bv 0 (native-endianness) (sizeof int)) + (bytevector-sint-ref bv (sizeof int) (native-endianness) (sizeof int))))) (define (set-renderer-logical-size! renderer width height) "Set the logical size of RENDERER to WIDTH x HEIGHT." |