Add easy log macros; add vec_init; windows managed by vec now

This commit is contained in:
2022-06-27 19:12:26 +00:00
parent bccb0a53fd
commit 9c5767436d
9 changed files with 67 additions and 47 deletions

View File

@@ -94,6 +94,11 @@ static unsigned int projUBO;
void openglInit()
{
if (!mainwin) {
YughError("No window to init OpenGL on.", 1);
abort();
}
sprite_initialize();
////// MAKE SHADERS