add xApplication defaults
This commit is contained in:
parent
2b81a72542
commit
5266b5d115
|
@ -64,8 +64,8 @@
|
|||
void syncFps();
|
||||
|
||||
// fps management
|
||||
uint32_t _lasttick;
|
||||
uint32_t _fpstime;
|
||||
uint32_t _lasttick { 0 };
|
||||
uint32_t _fpstime { (int) 1000.0/60 };
|
||||
|
||||
// event management
|
||||
xController _controller;
|
||||
|
@ -77,11 +77,11 @@
|
|||
set<xOrchestrable*> _orchestrables;
|
||||
|
||||
// sdl objects
|
||||
SDL_Window *_window;
|
||||
SDL_Rect _winrect;
|
||||
SDL_Window *_window { NULL };
|
||||
SDL_Rect _winrect { 0, 0, 0, 0 };
|
||||
|
||||
SDL_Renderer *_renderer;
|
||||
SDL_Texture *_texture;
|
||||
SDL_Renderer *_renderer { NULL };
|
||||
SDL_Texture *_texture { NULL };
|
||||
|
||||
// thread safety
|
||||
mutex _mutex_draw;
|
||||
|
|
Loading…
Reference in New Issue