Re: glUniformMatrix GL_INVALID_OPERATION Error
Posted by jmaasing on Jan 28, 2014; 5:57am
URL: https://forum.jogamp.org/glUniformMatrix-GL-INVALID-OPERATION-Error-tp4031397p4031398.html
It looks right, the only difference from my code is that I use float[] instead of buffers but that shouldn't make a difference. Given the error description I would bet that it is a typo somewhere :-)
Is the shader linked without errors? Are you sure you actually pass in the correct programId? That's where I would start looking after checking the obvious things you already checked.