@musicality wrote:
Hi everyone,
first time posting here, a complete beginner with OF, so I'm sure this must be a trivial problem.I'm reading the ofBook and trying to do the graphics-part of the basic chapter.
In a project generated with the standard settings I do this:
void ofApp::setup(){
ofSetBackgroundAuto(false); //disable automatic background redraw
}void ofApp::draw(){
ofSetColor(255);
ofDrawRectangle(50, 50, 100, 100);
}I get a black rather than a gray window and the rectangle isn't drawn. Any idea why?
Using of v0.9.5 and Visual Studio 2015.
Cheers!
Posts: 1
Participants: 1