diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-08-04 18:04:26 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-08-04 18:04:26 +0200 |
| commit | a2fdea91c0963b212707bfde8624f68cd54699e5 (patch) | |
| tree | f7b2d5aefebe98f5252480bba75e15fe9c3c0acc /include | |
| parent | 45449ae045b8f8238e6a394cb415af78309064b1 (diff) | |
USE_VALIDATION and VKVG_TILING_OPTIMAL cmake options, width and height as variables for engine and surface
Diffstat (limited to 'include')
| -rw-r--r-- | include/vkvg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vkvg.h b/include/vkvg.h index b73f3ce..dd67a88 100644 --- a/include/vkvg.h +++ b/include/vkvg.h @@ -29,6 +29,12 @@ extern "C" { #include <vulkan/vulkan.h> #include <math.h> +#ifdef VKVG_TILING_OPTIMAL + #define VKVG_TILING VK_IMAGE_TILING_OPTIMAL +#else + #define VKVG_TILING VK_IMAGE_TILING_LINEAR +#endif + #define VKVG_SAMPLES 4 #define LOG_ERR 0x00 |