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;
|
||||||
|
|||||||
@@ -20,4 +20,5 @@ subject to the following restrictions:
|
|||||||
void GLDebugDrawString(int x,int y,const char* string);
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -66,4 +66,5 @@ public:
|
|||||||
void OGL_displaylist_register_shape(btCollisionShape * shape);
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -81,4 +81,5 @@ void GlutDemoApplication::swapBuffers()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //_WINDOWS
|
#endif //_WINDOWS
|
||||||
|
|
||||||
|
|||||||
@@ -30,4 +30,5 @@ public:
|
|||||||
virtual void updateModifierKeys();
|
virtual void updateModifierKeys();
|
||||||
|
|
||||||
};
|
};
|
||||||
#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>
|
||||||
|
|||||||
@@ -36,4 +36,5 @@ class btActionInterface
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //_BT_ACTION_INTERFACE_H
|
#endif //_BT_ACTION_INTERFACE_H
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user