Quantcast
Viewing all articles
Browse latest Browse all 40524

glMultMatrixf with ofGLProgrammableRenderer::TYPE

Hi all,

in the draw method of my class i have

ofPushMatrix();
glMultMatrixf(glMatrix);
ofSetColor(color);
getTextureReference().draw(0,0);
ofPopMatrix();

with my glMatrix already loaded and the transformations are applying correctly.

But when I add to the main.cpp file

ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE);

the glMultMatrixf doesn't seem to work, even though the glMatrix is correct, and with the same values than when it's working correctly.

Any ideas what's going on?

Thanks!


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>