Skip to content
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

LV: Wrong depth when switching actors #68

Open
rigid opened this issue Aug 22, 2013 · 0 comments
Open

LV: Wrong depth when switching actors #68

rigid opened this issue Aug 22, 2013 · 0 comments
Labels
Milestone

Comments

@rigid
Copy link
Member

rigid commented Aug 22, 2013

Wrong depth is chosen when switching GL actor -> non-GL actor or non-GL actor -> non-GL actor.

Replication:
While
# lv-tool -c 24 -D 8x8 -d stdout_sdl -a bumpscope -F1 | wc -c
shows 192 bytes (8_8_3, 24bpp) correctly,

# lv-tool -c 24 -D 8x8 -d stdout_sdl -a bumpscope -F2 -S1 | wc -c
shows 256 bytes while there should be 192*2=384 bytes written for 2 frames.

Further investigation shows, that the new actor (corona in this case) is rendered with 8bpp. So we will get 192 + 64 = 256 bytes because the 2nd frame (from corona) only has 64 bytes (8_8_1, 8bpp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant