introduce MWAPI
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
77ca92452e
commit
2dd2c3870f
41 changed files with 189 additions and 166 deletions
|
|
@ -9,7 +9,7 @@ static void reshape(int width, int height);
|
|||
static void init(void);
|
||||
static void key(int k);
|
||||
|
||||
static void tick(MwWidget handle, void* user, void* client) {
|
||||
static void MWAPI tick(MwWidget handle, void* user, void* client) {
|
||||
(void)handle;
|
||||
(void)user;
|
||||
(void)client;
|
||||
|
|
@ -20,7 +20,7 @@ static void tick(MwWidget handle, void* user, void* client) {
|
|||
MwOpenGLSwapBuffer(opengl);
|
||||
}
|
||||
|
||||
static void resize(MwWidget handle, void* user, void* client) {
|
||||
static void MWAPI resize(MwWidget handle, void* user, void* client) {
|
||||
int ww, wh;
|
||||
|
||||
(void)user;
|
||||
|
|
@ -37,7 +37,7 @@ static void resize(MwWidget handle, void* user, void* client) {
|
|||
reshape(ww, wh);
|
||||
}
|
||||
|
||||
static void key_pressed(MwWidget handle, void* user, void* client) {
|
||||
static void MWAPI key_pressed(MwWidget handle, void* user, void* client) {
|
||||
(void)handle;
|
||||
(void)user;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue