vulkan_test2

diff src/wsys.h @ 17:f8bd29f124a8

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 27 Jun 2018 01:57:55 +0300
parents c31c4115d44a
children
line diff
     1.1 --- a/src/wsys.h	Tue Jun 26 08:42:12 2018 +0300
     1.2 +++ b/src/wsys.h	Wed Jun 27 01:57:55 2018 +0300
     1.3 @@ -1,6 +1,8 @@
     1.4  #ifndef WSYS_H_
     1.5  #define WSYS_H_
     1.6  
     1.7 +#include <vulkan/vulkan.h>
     1.8 +
     1.9  /* pass to wsys_process_events */
    1.10  enum {
    1.11  	WSYS_BLOCKING = 0,
    1.12 @@ -20,7 +22,7 @@
    1.13  void wsys_motion_callback(void (*func)(int, int));
    1.14  void wsys_passive_motion_callback(void (*func)(int, int));
    1.15  
    1.16 -void wsys_swap_buffers(void);
    1.17 +void wsys_swap_buffers(VkSemaphore sem_wait);
    1.18  void wsys_redisplay(void);
    1.19  void wsys_quit(void);
    1.20