New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mipmap causes delay when image is inside a surface #535

Open
zpaolo11x opened this Issue Jan 16, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@zpaolo11x
Copy link

zpaolo11x commented Jan 16, 2019

I have this code where two surfaces are placed on the layout, each with an image inside. The one with mipmap enabled shows a delay when changing game, similar to what happens to nested surfaces.

local surf0 = fe.add_surface (1,1)
local pic0 = surf0.add_artwork("snap",0,0,1,1)
pic0.video_flags = Vid.ImagesOnly

surf0.set_pos (0,0,500,500)

local surf1 = fe.add_surface (1,1)
local pic1 = surf1.add_artwork("snap",0,0,1,1)
pic1.video_flags = Vid.ImagesOnly
pic1.mipmap = 1

surf1.set_pos (500,0,500,500)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment