瀏覽代碼

LibGfx: Remove VERIFY in draw_rect_with_thickness

draw_line with thickness already supports scaling so that verify isn't
needed anymore. This fixes a scaling chrash introduced in 8a1d77f.
Filiph Sandström 3 年之前
父節點
當前提交
c4b78bee45
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Userland/Libraries/LibGfx/Painter.cpp

+ 0 - 2
Userland/Libraries/LibGfx/Painter.cpp

@@ -593,8 +593,6 @@ void Painter::draw_rect(IntRect const& a_rect, Color color, bool rough)
 
 void Painter::draw_rect_with_thickness(IntRect const& rect, Color color, int thickness)
 {
-    VERIFY(scale() == 1); // FIXME: Add scaling support.
-
     if (thickness <= 0)
         return;