haiku3d: Fix haiku3d build
* Add GL header include path * Remove strange GL include path from sources
This commit is contained in:
parent
defd6ec79a
commit
8e4cdaae8d
@ -1,8 +1,14 @@
|
||||
SubDir HAIKU_TOP src apps haiku3d ;
|
||||
SubDirSysHdrs $(HAIKU_MESA_HEADERS) ;
|
||||
|
||||
SEARCH_SOURCE += [ FDirName $(SUBDIR) mesh ] ;
|
||||
SEARCH_SOURCE += [ FDirName $(SUBDIR) texture ] ;
|
||||
|
||||
# For GCC2
|
||||
if $(HAIKU_GCC_VERSION[1]) < 3 {
|
||||
SubDirC++Flags --no-warnings ;
|
||||
}
|
||||
|
||||
UsePrivateHeaders shared ;
|
||||
|
||||
Application Haiku3d :
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include "MeshInstance.h"
|
||||
#include "MathUtils.h"
|
||||
#include <opengl/GL/gl.h>
|
||||
#include <GL/gl.h>
|
||||
|
||||
//#include <stdio.h> // debug
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
#include "StaticMesh.h"
|
||||
#include "VideoFileTexture.h"
|
||||
|
||||
#include <opengl/GL/gl.h>
|
||||
#include <opengl/GL/glu.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
|
||||
#include <TranslationKit.h>
|
||||
#include <TranslationUtils.h>
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include "Texture.h"
|
||||
|
||||
#include <opengl/GL/gl.h>
|
||||
#include <GL/gl.h>
|
||||
|
||||
|
||||
Texture::Texture()
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include <Referenceable.h>
|
||||
|
||||
#include <opengl/GL/gl.h>
|
||||
#include <GL/gl.h>
|
||||
|
||||
|
||||
class Texture : public BReferenceable {
|
||||
|
@ -10,8 +10,8 @@
|
||||
|
||||
#include <Bitmap.h>
|
||||
|
||||
#include <opengl/GL/gl.h>
|
||||
#include <opengl/GL/glu.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
|
@ -13,8 +13,8 @@
|
||||
#include <MediaFile.h>
|
||||
#include <MediaTrack.h>
|
||||
|
||||
#include <opengl/GL/gl.h>
|
||||
#include <opengl/GL/glu.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user