Skip to content

Transposed matrixes not supported on every system #68

Description

@mkalte666

Hello,

i am currently writing a rpg engine in D. I recently ran into a confusing problem caused by the following:

In older OpenGL versions, especially when you only have access to ES Core 2.0 contexts, glUniformMatrix only accepts GL_FALSE as transpose argument and otherwise generates a GL_INVALID_VALUE [1]. While i can simply call transpose() on the matrix, thats extra-stuff that needs be done every time i submit matrixes to the pipeline.

Is there an alternative way?
[1] https://www.khronos.org/opengles/sdk/docs/man/xhtml/glUniform.xml

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