bullet3/Demos/OpenCLClothDemo/gl_win.hpp
erwin.coumans 4f9b450200 added OpenCL cloth demo, contributed by AMD.
updated GpuSoftBodySolvers
updated DirectCompute cloth demo
2010-08-14 00:56:17 +00:00

35 lines
581 B
C++

#ifndef __GL_WIN_HDR__
#define __GL_WIN_HDR__
#ifdef _WIN32//for glut.h
#include <windows.h>
#endif
//think different
#if defined(__APPLE__) && !defined (VMDMESA)
#include <OpenGL/OpenGL.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#else
#ifdef _WINDOWS
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#else
#include <GL/glut.h>
#endif //_WINDOWS
#endif //APPLE
#include <string>
void goGL(void);
void preInitGL(int argc, char ** argv);
int getVBO( std::string, int size );
#endif //__GL_WIN_HDR__