Rinnegatamante / lpp-vita

Lua Player Plus for PSVITA. Documentation on: http://rinnegatamante.github.io/lpp-vita/
GNU General Public License v3.0
179 stars 27 forks source link

Problem with Graphics.fillEmptyRect #35

Open sqrg opened 6 years ago

sqrg commented 6 years ago

Using latest build, unsafe eboot

index.lua:

switch_grey = Color.new(57, 50, 44)

while true do

    Graphics.initBlend()
    Screen.clear()

    Graphics.fillRect(0, 960, 0, 544, switch_grey)

    Graphics.fillEmptyRect(10, 50, 100, 250, Color.new(25, 200, 120))

    Graphics.termBlend()

    Screen.flip()

end

2018-01-31-230842

.vpk download

Rinnegatamante commented 6 years ago

Stick with nightly instead of official build. Issues with rects are solved in it.

sqrg commented 6 years ago

I'm pretty sure I was using the latest nightly, but maybe I messed up. I'll try again tonight and report back. Thanks

sqrg commented 6 years ago

Hey, I just tried with the latest nightly (Build time: Sat Feb 17 06:01:30 EET 2018) and I get the same error.

Here's a 7zip file with the builder I've downloaded and the resulting .vpk

Rinnegatamante commented 6 years ago

Mmmhh that's strange. In the meantime you can replace the fillEmptyRect call with two fillRect (one for the internal area and one for the border). I'll look into this further.