mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-22 23:11:30 +11:00
Change file-ending for MSVC compiler
This commit is contained in:
parent
f799034fb1
commit
30f55be936
|
@ -4,13 +4,13 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
VkSurfaceKHR vkCreateSurfaceGFX(VkInstance);
|
extern "C" VkSurfaceKHR vkCreateSurfaceGFX(VkInstance);
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf("starting the portability test\n");
|
printf("starting the portability test\n");
|
||||||
|
|
||||||
VkInstance instance;
|
VkInstance instance;
|
||||||
VkResult res = 0;
|
VkResult res = (VkResult)0;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
VkInstanceCreateInfo inst_info = {};
|
VkInstanceCreateInfo inst_info = {};
|
Loading…
Reference in a new issue