diff options
author | cxp2249 <moritz.pirk@tuhh.de> | 2018-01-27 02:35:54 +0100 |
---|---|---|
committer | cxp2249 <moritz.pirk@tuhh.de> | 2018-01-27 02:35:54 +0100 |
commit | f72c4f122ccd832031925974ff521955e0e9b17c (patch) | |
tree | 02766a38371000ced0e2cb109f4e6a7f5c97a61c /src/defs.h | |
parent | cbac1496b1c8023a7fdede63e9556f2de82bbafe (diff) | |
parent | c8a38bd8ad66eb0b35f08a4733fdee37a888b83c (diff) |
Merge branch 'master' of https://collaborating.tuhh.de/cev7691/mandelbrot-zoom
Diffstat (limited to 'src/defs.h')
-rw-r--r-- | src/defs.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -8,6 +8,8 @@ #ifndef DEFS_H_ #define DEFS_H_ +#include <stdio.h> + #ifndef NULL #define NULL 0 #endif @@ -19,6 +21,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 +37,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_ */ |