blob: 37033ad2a7f941883a8a92e528e585959cb4b8cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "window.h"
#ifdef STELA_PAUSE
static inline bool stl_should_refresh_common(struct stl_window *window)
{
if (window->pending_refresh) {
window->pending_refresh = false;
return true;
}
return false;
}
#endif
void stl_window_init(struct stl_window *window);
void stl_window_created(struct stl_window *window, u32 width, u32 height, u32 flags);
|