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

How do you know what window the Metal renderpass descriptor callback is for? #242

Closed
tom-seddon opened this issue Dec 30, 2019 · 2 comments

Comments

@tom-seddon
Copy link

There's nothing passed in to the renderpass descriptor callback. How can it know what to do? It should surely get passed in a void * of the caller's choosing, as presumably supplied as part of the sg_desc.

I'll have a go at making a PR for this, but I reserve the right to soon find out that I've misunderstood what's going on...

Thanks,

--Tom

@tom-seddon
Copy link
Author

OK, I think I see - this is #229, and it sounds like it might be more involved than I expect. So I'm not going to do anything about this.

Thanks,

--Tom

@floooh
Copy link
Owner

floooh commented Jan 6, 2020

Hi Tom, sorry for not responding in time, I was focusing on emulator stuff over the holidays and deliberately ignored sokol stuff ;)

As you already found out, sokol_gfx.h needs "a bit" more work to really work with multiple output windows across all backends, and sokol_app.h would require quite a lot of work.

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

No branches or pull requests

2 participants