From cc563ca4576ff63235001c23680c2a1399ad1b5d Mon Sep 17 00:00:00 2001 From: cxxxr Date: Sat, 23 Sep 2023 00:03:00 +0900 Subject: [PATCH] tweak method specializers --- frontends/sdl2/text-buffer-impl.lisp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/frontends/sdl2/text-buffer-impl.lisp b/frontends/sdl2/text-buffer-impl.lisp index 6fd6e6b60..36a18443a 100644 --- a/frontends/sdl2/text-buffer-impl.lisp +++ b/frontends/sdl2/text-buffer-impl.lisp @@ -192,16 +192,10 @@ (- (lem-core/display-3::window-view-height window) y))) (sdl2:render-fill-rect (lem-sdl2::current-renderer) rect))) -(defmethod lem-core::redraw-buffer :before ((implementation lem-sdl2::sdl2) - (buffer lem-core/display-3::text-buffer-v2) - window - force) +(defmethod lem-core::redraw-buffer :before ((implementation lem-sdl2::sdl2) buffer window force) (sdl2:set-render-target (lem-sdl2::current-renderer) (lem-sdl2::view-texture (lem:window-view window)))) -(defmethod lem-core::redraw-buffer :around ((implementation lem-sdl2::sdl2) - (buffer lem-core/display-3::text-buffer-v2) - window - force) +(defmethod lem-core::redraw-buffer :around ((implementation lem-sdl2::sdl2) buffer window force) (sdl2:in-main-thread () (call-next-method)))