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

Implement surfaceSelector in Context3D.setRenderToTexture #15495

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Aaron1011
Copy link
Member

This still needs a test, but I'm planning to add that in a follow-up PR
Fixes #15487

This still needs a test, but I'm planning to add that in a
follow-up PR
@@ -612,15 +612,6 @@ pub fn set_render_to_texture<'gc>(
);
}

if surface_selector != 0 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want the same validation as FP has?

ArgumentError - for a mismatched surfaceSelector parameter. The value must be 0 for 2D textures and 0..5 for cube maps

@torokati44 torokati44 added waiting-on-author Waiting on the PR author to make the requested changes rendering avm2 AVM2 (ActionScript 3.0) issues render-wgpu Issues relating to the wgpu renderer stage3d labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
avm2 AVM2 (ActionScript 3.0) issues render-wgpu Issues relating to the wgpu renderer rendering stage3d waiting-on-author Waiting on the PR author to make the requested changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash on Ena.swf
3 participants