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

sokol: added sampler to the 02_cube code, bugfix: #21547 #21853

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

penguindark
Copy link
Member

What's inside

The new version of sokol seem need an explicit declaration of the sampler to pass ot shader.
Adding the line: app.cube bind.fs.samplers[C.SLOT_smp] = app.sampler solve the problem

@spytheman
Copy link
Member

Thank you 🙇🏻‍♂️!

That change, saved me a lot of frustration and unsuccessful future attempts to fix it on my own (I already tried 3 times).

@spytheman spytheman merged commit 7908957 into vlang:master Jul 12, 2024
44 checks passed
@larpon
Copy link
Contributor

larpon commented Jul 12, 2024

@penguindark thank you! I gave it a try a while ago and could not figure it out either 😅

@penguindark
Copy link
Member Author

Only experience nothing more.
The only important thing is that we have solved the bug. 😄

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

Successfully merging this pull request may close these issues.

3 participants