compile fixes for Linux
This commit is contained in:
@@ -88,7 +88,7 @@ void GLDebugDrawString(int x,int y,const char* string)
|
|||||||
|
|
||||||
for (int i=0;i<strlen(string);i++)
|
for (int i=0;i<strlen(string);i++)
|
||||||
{
|
{
|
||||||
unsigned char ch = string[i]-32;
|
char ch = string[i]-32;
|
||||||
if (ch>=0)
|
if (ch>=0)
|
||||||
{
|
{
|
||||||
cx=float(ch%16) * 1./16.f;
|
cx=float(ch%16) * 1./16.f;
|
||||||
|
|||||||
@@ -21,3 +21,4 @@ void GLDebugDrawString(int x,int y,const char* string);
|
|||||||
void GLDebugResetFont(int screenWidth,int screenHeight);
|
void GLDebugResetFont(int screenWidth,int screenHeight);
|
||||||
|
|
||||||
#endif //BT_DEBUG_FONT_H
|
#endif //BT_DEBUG_FONT_H
|
||||||
|
|
||||||
|
|||||||
@@ -67,3 +67,4 @@ void OGL_displaylist_register_shape(btCollisionShape * shape);
|
|||||||
void OGL_displaylist_clean();
|
void OGL_displaylist_clean();
|
||||||
|
|
||||||
#endif //GL_SHAPE_DRAWER_H
|
#endif //GL_SHAPE_DRAWER_H
|
||||||
|
|
||||||
|
|||||||
@@ -82,3 +82,4 @@ void GlutDemoApplication::swapBuffers()
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif //_WINDOWS
|
#endif //_WINDOWS
|
||||||
|
|
||||||
|
|||||||
@@ -31,3 +31,4 @@ public:
|
|||||||
|
|
||||||
};
|
};
|
||||||
#endif //GLUT_DEMO_APPLICATION_H
|
#endif //GLUT_DEMO_APPLICATION_H
|
||||||
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ subject to the following restrictions:
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
#include <GL/glut.h>
|
#include <GL/glut.h>
|
||||||
#ifndef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#include <GL/glu.h>
|
#include <GL/glu.h>
|
||||||
|
|||||||
@@ -37,3 +37,4 @@ class btActionInterface
|
|||||||
};
|
};
|
||||||
|
|
||||||
#endif //_BT_ACTION_INTERFACE_H
|
#endif //_BT_ACTION_INTERFACE_H
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user