diff options
| author | oy <Tom_Adams@web.de> | 2012-02-05 13:22:39 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2012-02-05 13:22:39 +0100 |
| commit | 0c05b3bfa1f64239e9beddd9c97f8ef0844da165 (patch) | |
| tree | c87ce9f09b7c83b930b32084cba6ba70b19377c4 /src | |
| parent | d17ee055a250554e05abb0fcade04da85e85647b (diff) | |
| download | zcatch-0c05b3bfa1f64239e9beddd9c97f8ef0844da165.tar.gz zcatch-0c05b3bfa1f64239e9beddd9c97f8ef0844da165.zip | |
fixed compiling with vs2008 (#932)
Diffstat (limited to 'src')
| -rw-r--r-- | src/engine/client/backend_sdl.cpp | 2 | ||||
| -rw-r--r-- | src/engine/client/graphics.cpp | 1 | ||||
| -rw-r--r-- | src/engine/client/graphics_threaded.cpp | 1 | ||||
| -rw-r--r-- | src/engine/client/graphics_threaded.h | 2 | ||||
| -rw-r--r-- | src/engine/graphics.h | 3 |
5 files changed, 5 insertions, 4 deletions
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 <base/tl/threading.h> + #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 <base/detect.h> #include <base/math.h> +#include <base/tl/threading.h> #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 <base/detect.h> #include <base/math.h> +#include <base/tl/threading.h> #include <base/system.h> #include <engine/external/pnglite/pnglite.h> 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 <base/tl/threading.h> - #include <engine/graphics.h> 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 <base/tl/threading.h> 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; }; |