diff --git a/src/XOGLUtils.cpp b/src/XOGLUtils.cpp index 51e8a4c0b..693683279 100644 --- a/src/XOGLUtils.cpp +++ b/src/XOGLUtils.cpp @@ -125,7 +125,7 @@ bool OGL_UtilsInit() { // Initialize all OGL Function Pointers #if APL - //glBindBufferARB = (PFNGLBINDBUFFERARBPROC) wglGetProcAddress("glBindBufferARB" ); +// glBindBufferARB = (PFNGLBINDBUFFERARBPROC) wglGetProcAddress("glBindBufferARB" ); #endif #if IBM glBindBufferARB = (PFNGLBINDBUFFERARBPROC) wglGetProcAddress("glBindBufferARB" ); diff --git a/src/XOGLUtils.h b/src/XOGLUtils.h index c9f449b62..2525296ed 100644 --- a/src/XOGLUtils.h +++ b/src/XOGLUtils.h @@ -28,7 +28,7 @@ #include #include #include - #include + #include #elif LIN #define GLX_GLXEXT_PROTOTYPES #define GL_GLEXT_PROTOTYPES @@ -37,14 +37,15 @@ #include #include #elif APL + #include #include #include -#endif + #endif -#if LIN + #if LIN #define GLX_GLXEXT_PROTOTYPES -#endif + #endif // Open GL Extension Defintion #if APL @@ -61,6 +62,9 @@ typedef void (APIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC ) (GLenum); typedef void (APIENTRY * PFNGLMULTITEXCOORD2FARBPROC ) (GLenum, GLfloat, GLfloat); typedef void (APIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum, const GLfloat *); +#if APL +//extern PFNGLBINDBUFFERARBPROC glBindBufferARB; +#endif #if IBM extern PFNGLBINDBUFFERARBPROC glBindBufferARB; extern PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB; diff --git a/src/XObjDefs.cpp b/src/XObjDefs.cpp index ecf065b29..f8af9d7df 100644 --- a/src/XObjDefs.cpp +++ b/src/XObjDefs.cpp @@ -21,6 +21,7 @@ * */ #include "XObjDefs.h" +#include cmd_info gCmds[] = { @@ -81,4 +82,4 @@ int FindIndexForCmd(int inCmd) ++n; } return 0; -} \ No newline at end of file +} diff --git a/src/XObjReadWrite.cpp b/src/XObjReadWrite.cpp index 3256ba9c0..b57e8c9c1 100644 --- a/src/XObjReadWrite.cpp +++ b/src/XObjReadWrite.cpp @@ -24,6 +24,7 @@ #include "XObjDefs.h" #include "XUtils.h" #include +#include #if APL #define CRLF "\r" diff --git a/src/XPMPMultiplayerCSL.cpp b/src/XPMPMultiplayerCSL.cpp index 76b8d548e..ae8f3945e 100644 --- a/src/XPMPMultiplayerCSL.cpp +++ b/src/XPMPMultiplayerCSL.cpp @@ -29,6 +29,8 @@ #include #include "PlatformUtils.h" +#include + using std::max; #if APL diff --git a/src/XUtils.cpp b/src/XUtils.cpp index 23bebf736..22e423006 100644 --- a/src/XUtils.cpp +++ b/src/XUtils.cpp @@ -22,6 +22,7 @@ */ #include "XUtils.h" #include +#include #include #include "XObjDefs.h" #include