Skip to content

What gl::GetUniformLocation excepts (rust) #428

@stalker57241

Description

@stalker57241

I'm writing app with rust and opengl, done much work with matrices, but it isn't works. After some tests, I found, that location is -1. but shader's code contains used name. It isn't work when name is &str and used as name.as_ptr().cast() for casting to *const i8 type.

Where is readable docs? May anyone tell me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions