gamescope/src/sdlwindow.hpp

16 lines
373 B
C++
Raw Normal View History

// 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 );
extern SDL_Window *g_SDLWindow;