2020-09-02 04:36:48 +00:00
|
|
|
// For the nested case, manages SDL window for input/output
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <SDL.h>
|
|
|
|
#include <SDL_vulkan.h>
|
|
|
|
|
|
|
|
bool sdlwindow_init( void );
|
|
|
|
|
|
|
|
void sdlwindow_update( void );
|
|
|
|
|
2020-09-13 07:19:02 +00:00
|
|
|
// called from other threads with interesting things have happened with clients that might warrant updating the nested window
|
|
|
|
void sdlwindow_pushupdate( void );
|
|
|
|
|
2020-09-02 04:36:48 +00:00
|
|
|
extern SDL_Window *g_SDLWindow;
|