diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2012-01-03 21:39:10 +0100 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2012-01-03 21:39:10 +0100 |
| commit | 50d872531aae6640f57da98e8dcf6dbae1f9cd82 (patch) | |
| tree | e3a88d02f1b7ec3a37a4e3b6acb2413e51cbebc2 /src/engine/client/graphics.h | |
| parent | e59b24d8db8a7a9ec21c654302d89e01903f4d96 (diff) | |
| download | zcatch-50d872531aae6640f57da98e8dcf6dbae1f9cd82.tar.gz zcatch-50d872531aae6640f57da98e8dcf6dbae1f9cd82.zip | |
cleaned up the code. fixed so that SDL is inited on main thread and then transfers the gl context to the render thread
Diffstat (limited to 'src/engine/client/graphics.h')
| -rw-r--r-- | src/engine/client/graphics.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/client/graphics.h b/src/engine/client/graphics.h index 37276d36..3ab550dc 100644 --- a/src/engine/client/graphics.h +++ b/src/engine/client/graphics.h @@ -118,7 +118,7 @@ public: virtual void QuadsDrawFreeform(const CFreeformItem *pArray, int Num); virtual void QuadsText(float x, float y, float Size, float r, float g, float b, float a, const char *pText); - virtual bool Init(); + virtual int Init(); }; class CGraphics_SDL : public CGraphics_OpenGL @@ -130,7 +130,7 @@ class CGraphics_SDL : public CGraphics_OpenGL public: CGraphics_SDL(); - virtual bool Init(); + virtual int Init(); virtual void Shutdown(); virtual void Minimize(); |