aboutsummaryrefslogtreecommitdiff
path: root/src/defs.h
diff options
context:
space:
mode:
authorLeonard Kugis <leonardkugis@gmail.com>2018-01-26 01:12:49 +0100
committerLeonard Kugis <leonardkugis@gmail.com>2018-01-26 01:12:49 +0100
commit1c3ea27064257d8cf7b9f36b0388b8cf2e94ab08 (patch)
tree9b2d9a0dbb2940158b2fb734325cfc360efac6f4 /src/defs.h
parente6c241add375353c1c80b0e3915a6505dbd5db9a (diff)
Skeleton for OpenCL rendering, cleaned up alot, WIP and crashing
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/defs.h b/src/defs.h
index 00b51bd..505fe69 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -19,6 +19,10 @@
#define FALSE 0
#endif
+// Rendering modes, u8
+#define MODE_CPU 0
+#define MODE_OPENCL 1
+
typedef unsigned char u8;
typedef signed char s8;
@@ -31,6 +35,8 @@ typedef signed long int s32;
typedef unsigned long long u64;
typedef signed long long s64;
+typedef long double d64;
+
//typedef u8 bool;
#endif /* DEFS_H_ */