add sqlite to view

This commit is contained in:
2025-02-03 16:11:32 +01:00
parent 1cf439ef03
commit 207e930b1c
3 changed files with 5 additions and 2 deletions

View File

@@ -9,7 +9,8 @@
void Vapp::init()
{
// TraceLog(LOG_INFO, "%d / %d = %d", sizeof(Dna), sizeof(int64_t), sizeof(Dna) / sizeof(int64_t));
sql::init();
sql::open(DB_NAME, &db);
}
void Vapp::update()
@@ -40,4 +41,5 @@ void Vapp::draw()
void Vapp::deinit()
{
sql::close(db);
}