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)))