about summary refs log tree commit diff
path: root/src/engine/client/graphics_threaded.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2012-01-01 13:38:46 +0100
committerMagnus Auvinen <magnus.auvinen@gmail.com>2012-01-01 13:38:46 +0100
commitc1942ca6cbafb605e3ebc8e8cfabf982144f388f (patch)
treebbec7885b34053d3075c0997498f9eab49a25b77 /src/engine/client/graphics_threaded.h
parent8b76105cfa70e74b76e38ed2a867e806bba8e0ff (diff)
downloadzcatch-c1942ca6cbafb605e3ebc8e8cfabf982144f388f.tar.gz
zcatch-c1942ca6cbafb605e3ebc8e8cfabf982144f388f.zip
fixed the render frame time and cleaned up some more code
Diffstat (limited to 'src/engine/client/graphics_threaded.h')
-rw-r--r--src/engine/client/graphics_threaded.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/engine/client/graphics_threaded.h b/src/engine/client/graphics_threaded.h
index 54455d6d..1ea84ea9 100644
--- a/src/engine/client/graphics_threaded.h
+++ b/src/engine/client/graphics_threaded.h
@@ -78,6 +78,9 @@ public:
 
 		// swap
 		CMD_SWAP,
+
+		//
+		CMD_SCREENSHOT,
 	};
 
 	enum
@@ -192,6 +195,13 @@ public:
 		SVertex *m_pVertices;
 	};
 
+	struct SCommand_Screenshot : public SCommand
+	{
+		SCommand_Screenshot() : SCommand(CMD_SCREENSHOT) {}
+
+		CImageInfo *m_pImage; // processor will fill this out
+	};
+
 	struct SCommand_Swap : public SCommand
 	{
 		SCommand_Swap() : SCommand(CMD_SWAP) {}