Separate engine and game
This commit is contained in:
14
engine/tests/window_test.c
Normal file
14
engine/tests/window_test.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <breeze.h>
|
||||
|
||||
#include <raylib.h>
|
||||
|
||||
void render(float dt, int *game) {
|
||||
ClearBackground(WHITE);
|
||||
BeginDrawing();
|
||||
EndDrawing();
|
||||
}
|
||||
|
||||
bool bzMain(BzAppDesc *appDesc, int argc, const char **argv) {
|
||||
appDesc->render = (BzAppRenderFunc) render;
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user