Initial commit - some engine bugs stopping compiling
This commit is contained in:
18
third-party/glad/test/c/compile/vulkan/alias/002/test.c
vendored
Normal file
18
third-party/glad/test/c/compile/vulkan/alias/002/test.c
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Full Vulkan with aliasing and without extensions
|
||||
*
|
||||
* GLAD: $GLAD --out-path=$tmp --api="vulkan" --extensions="" c --loader --alias
|
||||
* COMPILE: $GCC $test -o $tmp/test -I$tmp/include $tmp/src/vulkan.c -ldl
|
||||
* RUN: $tmp/test
|
||||
*/
|
||||
|
||||
#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