summaryrefslogtreecommitdiff
path: root/src/fltk-devices-surface-image.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2024-12-24 12:33:28 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2024-12-24 12:33:28 +1300
commitba40e0e277a2a959209e082fd62a3c2e796a9566 (patch)
tree0412bdb5cb3930229f86dbc99549d7a9448a6909 /src/fltk-devices-surface-image.adb
parentb3f9e96403aa5cb9d7db2330aa579356d1d58b6f (diff)
Completed Fl_Surface_Device binding
Diffstat (limited to 'src/fltk-devices-surface-image.adb')
-rw-r--r--src/fltk-devices-surface-image.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fltk-devices-surface-image.adb b/src/fltk-devices-surface-image.adb
index d9a5e1b..e9e7de4 100644
--- a/src/fltk-devices-surface-image.adb
+++ b/src/fltk-devices-surface-image.adb
@@ -162,7 +162,7 @@ package body FLTK.Devices.Surface.Image is
(This : in out Image_Surface) is
begin
fl_image_surface_set_current (This.Void_Ptr);
- Current_Ptr := This'Unchecked_Access;
+ This.Set_Current_Bookkeep;
end Set_Current;