Initial commit - some engine bugs stopping compiling
This commit is contained in:
19
third-party/glad/test/c/compile/vulkan/header-only/002/test.c
vendored
Normal file
19
third-party/glad/test/c/compile/vulkan/header-only/002/test.c
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Full Vulkan without extensions, header only
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="vulkan" --extensions="" c --loader --header-only
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#define GLAD_VULKAN_IMPLEMENTATION
|
||||
#include <glad/vulkan.h>
|
||||
|
||||
#if defined(VK_EXT_debug_report) || !defined(VK_VERSION_1_0)
|
||||
#error
|
||||
#endif
|
||||
|
||||
int main(void) {
|
||||
(void) gladLoaderLoadVulkan(NULL, NULL, NULL);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user