Link against native libGL.so. Native OpenGL headers too.
Changed the app signature to match resource one. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13282 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,15 +1,13 @@
|
|||||||
SubDir OBOS_TOP src apps glteapot ;
|
SubDir OBOS_TOP src apps glteapot ;
|
||||||
|
|
||||||
#TODO we should have our own opengl headers
|
|
||||||
SubDirHdrs [ FDirName / boot develop headers be opengl ] ;
|
|
||||||
|
|
||||||
#TODO we should have our own libGL.so
|
|
||||||
App GLTeapot :
|
App GLTeapot :
|
||||||
FPS.cpp
|
FPS.cpp
|
||||||
GLObject.cpp
|
GLObject.cpp
|
||||||
ObjectView.cpp
|
ObjectView.cpp
|
||||||
error.cpp
|
error.cpp
|
||||||
teapot_main.cpp
|
teapot_main.cpp
|
||||||
: libbe.so GL libgame.so
|
|
||||||
|
: libbe.so libGL.so libgame.so
|
||||||
|
|
||||||
: GLTeapot.rdef
|
: GLTeapot.rdef
|
||||||
;
|
;
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ int main(int argc, char **argv)
|
|||||||
//GLenum type = BGL_RGB | BGL_DEPTH | BGL_SINGLE;
|
//GLenum type = BGL_RGB | BGL_DEPTH | BGL_SINGLE;
|
||||||
BRect r(0,0,300,315);
|
BRect r(0,0,300,315);
|
||||||
|
|
||||||
BApplication *app = new BApplication("application/x-vnd.Be-tpot");
|
BApplication *app = new BApplication("application/x-vnd.Haiku-teapot");
|
||||||
|
|
||||||
r.OffsetTo(BPoint(100,100));
|
r.OffsetTo(BPoint(100,100));
|
||||||
QuitWindow *win = new QuitWindow(r,"GLTeapot",B_TITLED_WINDOW,0);
|
QuitWindow *win = new QuitWindow(r,"GLTeapot",B_TITLED_WINDOW,0);
|
||||||
|
|||||||
Reference in New Issue
Block a user