From 0c05b3bfa1f64239e9beddd9c97f8ef0844da165 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 5 Feb 2012 13:22:39 +0100 Subject: fixed compiling with vs2008 (#932) --- src/engine/client/backend_sdl.cpp | 2 ++ src/engine/client/graphics.cpp | 1 + src/engine/client/graphics_threaded.cpp | 1 + src/engine/client/graphics_threaded.h | 2 -- src/engine/graphics.h | 3 +-- 5 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index 4d77ff3e..a8617748 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -2,6 +2,8 @@ #include "SDL.h" #include "SDL_opengl.h" +#include + #include "graphics_threaded.h" #include "backend_sdl.h" diff --git a/src/engine/client/graphics.cpp b/src/engine/client/graphics.cpp index bb52e1b8..2fff2931 100644 --- a/src/engine/client/graphics.cpp +++ b/src/engine/client/graphics.cpp @@ -3,6 +3,7 @@ #include #include +#include #include "SDL.h" #include "SDL_opengl.h" diff --git a/src/engine/client/graphics_threaded.cpp b/src/engine/client/graphics_threaded.cpp index 286428d7..b19e8a83 100644 --- a/src/engine/client/graphics_threaded.cpp +++ b/src/engine/client/graphics_threaded.cpp @@ -3,6 +3,7 @@ #include #include +#include #include #include diff --git a/src/engine/client/graphics_threaded.h b/src/engine/client/graphics_threaded.h index 3f3bec89..f90f818d 100644 --- a/src/engine/client/graphics_threaded.h +++ b/src/engine/client/graphics_threaded.h @@ -1,7 +1,5 @@ #pragma once -#include - #include class CCommandBuffer diff --git a/src/engine/graphics.h b/src/engine/graphics.h index 46750e03..7f272497 100644 --- a/src/engine/graphics.h +++ b/src/engine/graphics.h @@ -5,7 +5,6 @@ #include "kernel.h" -#include class CImageInfo { @@ -139,7 +138,7 @@ public: virtual void Swap() = 0; // syncronization - virtual void InsertSignal(semaphore *pSemaphore) = 0; + virtual void InsertSignal(class semaphore *pSemaphore) = 0; virtual bool IsIdle() = 0; virtual void WaitForIdle() = 0; }; -- cgit 1.4.1