Skip to content

What gl::GetUniformLocation excepts (rust) #430

Answered by Dav1dde
stalker57241 asked this question in Q&A
Discussion options

You must be logged in to vote

Strings without length in the API like glGetUniformLocation need to be 0-terminated, in Rust you could/should use CString

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@stalker57241
Comment options

Answer selected by stalker57241
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #428 on June 13, 2023 09:58.