Paint Bitmap not working on iPhone

I’m a Pro licenser, and was playing around with bitmap paint yesterday, it works fine on the simulator, but doesn’t show on the actual device

[lua]

display.setDefault( “textureWrapX”, “repeat” )
display.setDefault( “textureWrapY”, “repeat” )

local paint = {
  type = “image”,
  filename = “repeater.png”,
}
local rect = display.newRect( 160, 150, 320, 18 )
rect.fill = paint
[/lua]

This happens on the current daily build (this is my first time playing with this feature, so I do not know since when it stopped working).

Any ideas?

(Already sent a bug report, but trying to figure out if there is something wrong on my side)

Found out the issue, my texture’s size was not a power of 2. 

I found the info I needed here

http://docs.coronalabs.com/api/library/display/setDefault.html

But would be nice if this hint was on the same docs page as bitmap fills

Make your suggestion for a hint by:

  1. Going here: http://docs.coronalabs.com/daily/api/type/ShapeObject/fill.html

  2. Scroll to the bottom.

  3. Click ‘report and issue’ button.

  4. Make suggestion in dialog.

Thanks Roaming for the Advice

did it just now!

Found out the issue, my texture’s size was not a power of 2. 

I found the info I needed here

http://docs.coronalabs.com/api/library/display/setDefault.html

But would be nice if this hint was on the same docs page as bitmap fills

Make your suggestion for a hint by:

  1. Going here: http://docs.coronalabs.com/daily/api/type/ShapeObject/fill.html

  2. Scroll to the bottom.

  3. Click ‘report and issue’ button.

  4. Make suggestion in dialog.

Thanks Roaming for the Advice

did it just now!