vk_layer: Include vukan_core.h instead of vulkan.h
vulkan.h pulls in system headers we don't need closes #313
This commit is contained in:
parent
43946b0feb
commit
fc90b60663
1 changed files with 2 additions and 1 deletions
|
|
@ -26,7 +26,8 @@
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "vulkan.h"
|
#include "vulkan_core.h"
|
||||||
|
|
||||||
#if defined(__GNUC__) && __GNUC__ >= 4
|
#if defined(__GNUC__) && __GNUC__ >= 4
|
||||||
#define VK_LAYER_EXPORT __attribute__((visibility("default")))
|
#define VK_LAYER_EXPORT __attribute__((visibility("default")))
|
||||||
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
|
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue