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

Compiling in Release mode removes vertex normals !! #213

Open
void-ripper opened this issue Jan 3, 2025 · 0 comments
Open

Compiling in Release mode removes vertex normals !! #213

void-ripper opened this issue Jan 3, 2025 · 0 comments

Comments

@void-ripper
Copy link

I took a little to figure this out. But on Linux and Windows 10, where i tested, if you compile with --release then normal information for a vertex vanishes.

After setting the opt-level in release mode to 0, it works again.
So my gut feeling tells me, that on the rust side of things, some how the normal information gets optimized away.

i made a test project for verification: https://github.com/void-ripper/raylib-rs-error

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

1 participant