2023-11-27 23:53:20 -05:00
|
|
|
#include <iostream>
|
|
|
|
|
2023-11-28 01:56:10 -05:00
|
|
|
#include <blt/gfx/window.h>
|
2023-12-16 01:32:25 -05:00
|
|
|
#include <imgui.h>
|
2023-11-28 01:56:10 -05:00
|
|
|
|
|
|
|
void init()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void update(std::int32_t width, std::int32_t height)
|
|
|
|
{
|
2023-12-16 03:19:27 -05:00
|
|
|
ImGui::ShowDemoWindow();
|
2023-11-28 01:56:10 -05:00
|
|
|
}
|
|
|
|
|
2023-11-27 23:53:20 -05:00
|
|
|
int main()
|
|
|
|
{
|
2023-11-28 01:56:10 -05:00
|
|
|
blt::gfx::init(blt::gfx::window_data{"My Sexy Window", init, update}.setSyncInterval(1));
|
|
|
|
blt::gfx::cleanup();
|
2023-11-27 23:53:20 -05:00
|
|
|
return 0;
|
|
|
|
}
|