most unused arg warnings corrected.
[blender.git] / source / blender / editors / interface / interface_icons.c
index 2da54b492e6a9292fe45a608a0cc8f8fc69ebd59..6d1a72fcd1a3af9446daccc9ce2026a0d9ce343b 100644 (file)
@@ -876,7 +876,7 @@ static void icon_draw_rect(float x, float y, int w, int h, float UNUSED(aspect),
                        ImBuf *ima;
 
                        /* first allocate imbuf for scaling and copy preview into it */
-                       ima = IMB_allocImBuf(rw, rh, 32, IB_rect, 0);
+                       ima = IMB_allocImBuf(rw, rh, 32, IB_rect);
                        memcpy(ima->rect, rect, rw*rh*sizeof(unsigned int));    
                        
                        /* scale it */