@AM16 wrote:
I have a project that starts out with a Main image loaded in a class. I am then trying to move from the main image to another image that is loaded in a different class. I am trying to do this using an if statement.
void ofApp::setup(){
mainimg.setup();}
void ofApp::draw(){
mainimg.draw();
ofDrawRectangle(150,600,50,50); //move mouse over this to move onto next image
if((mouseX > 150 && mouseX < 200) || (mouseY > 600 && mouseY < 650)){
sunday1.draw();
}}
However i keep getting the warning when the project is rendered stating [warning] ofGLRenderer: drawing an unallocated texture. Anyone help me fix it ?
Posts: 4
Participants: 2