Remove nuklear from engine

This commit is contained in:
2023-11-10 10:13:49 +01:00
parent 3468e6caf4
commit 2f358ef5f7
5 changed files with 29 additions and 48 deletions

View File

@@ -2,14 +2,27 @@
#include <breeze.h>
#include <raylib.h>
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
#include <rlImGui.h>
#include <cimgui.h>
bool init(int *game) {
rlImGuiSetup(true);
return true;
}
void render(float dt, int *game) {
ClearBackground(WHITE);
BeginDrawing();
EndDrawing();
rlImGuiBegin();
igShowDemoWindow(NULL);
rlImGuiEnd();
}
bool bzMain(BzAppDesc *appDesc, int argc, const char **argv) {
appDesc->init = (BzAppInitFunc) init;
appDesc->render = (BzAppRenderFunc) render;
return true;
}