You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove all GLUT specific windowing from examples. #4
Almost all of the examples name a glut window in their main.cpp file.
For instance:
#include"ofMain.h"
#include"testApp.h"
#include"ofAppGlutWindow.h"//========================================================================intmain( ){
ofAppGlutWindow window;
ofSetupOpenGL(&window, 1024,768, OF_WINDOW); // <-------- setup the GL context// this kicks off the running of my app// can be OF_WINDOW or OF_FULLSCREEN// pass in width and height too:ofRunApp( newtestApp());
}
If we migrate all of the source files to look like this:
#include"ofMain.h"
#include"testApp.h"//========================================================================intmain( ){
ofSetupOpenGL(1024,768, OF_WINDOW); // <-------- setup the GL context// this kicks off the running of my app// can be OF_WINDOW or OF_FULLSCREEN// pass in width and height too:ofRunApp( newtestApp());
}
Activity
bakercp commentedon Nov 20, 2012
In fact, ideally I think that we would want to do something like this:
https://github.com/underdoeg/openFrameworks/blob/multiwindow/examples/other/multiwindowExample/src/main.cpp
bakercp commentedon Nov 20, 2012
By the way, the above link is from @underdoeg's multiwindow glfw branch.
Merge pull request #4 from arturoc/gles2
bakercp commentedon Nov 27, 2012
Closed with 44888db
Merge pull request #4 from bilderbuchi/patch-2
Merge pull request #4 from arturoc/3dprimitives