Skip to content

Commit 3b144ef

Browse files
committed
Update for PixelFlow-1.20
1 parent 875e94a commit 3b144ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

external_library/java/pixel_flow/anti_aliasing.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def draw
142142
end
143143
magnifier.apply(display, mouse_x, mouse_y)
144144
magnifier.display_tool
145-
peasycam.beginHUD
145+
DwUtils.beginScreen2D(g)
146146
# display Anti Aliased result
147147
blend_mode(REPLACE)
148148
clear
@@ -176,7 +176,7 @@ def draw
176176
text mode << buffer, tx + 2, ty + 2
177177
fill(255, 200, 0)
178178
text mode, tx, ty
179-
peasycam.endHUD
179+
DwUtils.endScreen2D(g)
180180
# some info, window title
181181
format_string = 'Anti Aliasing | fps: (%6.2f)'
182182
surface.set_title(format(format_string, frame_rate))

0 commit comments

Comments
 (0)