Forráskód Böngészése

Windows compile fixes.

Cameron Hart 14 éve
szülő
commit
ebd46c43f0

+ 1 - 0
Core/Contents/Include/PolyGLTexture.h

@@ -35,6 +35,7 @@ THE SOFTWARE.
 #include <OpenGL/glu.h>	
 #else
 #include <GL/gl.h>
+#include <GL/glext.h>
 #include <GL/glu.h>
 #endif
 

+ 1 - 1
Core/Contents/Include/PolyWinCore.h

@@ -112,7 +112,7 @@ namespace Polycode {
 		
 	public:
 		
-		Win32Core(PolycodeViewBase *view, int xRes, int yRes, bool fullScreen, int aaLevel,int frameRate);
+		Win32Core(PolycodeViewBase *view, int xRes, int yRes, bool fullScreen, bool vSync, int aaLevel, int anisotropyLevel, int frameRate);
 		~Win32Core();
 
 		void enableMouse(bool newval);

+ 2 - 1
Core/Contents/Source/PolyWinCore.cpp

@@ -52,7 +52,8 @@ void ClientResize(HWND hWnd, int nWidth, int nHeight)
   MoveWindow(hWnd,rcWindow.left, rcWindow.top, nWidth + ptDiff.x, nHeight + ptDiff.y, TRUE);
 }
 
-Win32Core::Win32Core(PolycodeViewBase *view, int xRes, int yRes, bool fullScreen, int aaLevel,int frameRate) : Core(xRes, yRes, fullScreen,aaLevel,frameRate) {
+Win32Core::Win32Core(PolycodeViewBase *view, int xRes, int yRes, bool fullScreen, bool vSync, int aaLevel, int anisotropyLevel, int frameRate) 
+	: Core(xRes, yRes, fullScreen, vSync, aaLevel, anisotropyLevel, frameRate) {
 
 	hWnd = *((HWND*)view->windowData);
 	core = this;