Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "ofMain.h"
#include "ofApp.h"

#include <iostream>
using namespace std;
//========================================================================
int main( ){
ofSetupOpenGL(1024,768,OF_WINDOW); // <-------- setup the GL context
Expand All @@ -9,5 +10,5 @@ int main( ){
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp(new ofApp());

cout << "Hello from main" << endl;
}
4 changes: 3 additions & 1 deletion src/ofApp.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#include "ofApp.h"
#include <iostream>
using namespace std;

//--------------------------------------------------------------
void ofApp::setup(){

cout << "Hello from setup" << endl;
}

//--------------------------------------------------------------
Expand Down