summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-11-26 16:37:54 -0500
committerAndrew Opalach <andrew@akon.city> 2024-11-26 16:40:13 -0500
commit2178e5f94d26b6bdefa44e56d47a9257a2e73e74 (patch)
treef36dc1c5cee2cead9b6e94922d66f30ac8a410fe /src
parentf9eea19c5a13de915e9df49cc0260aa98b82b9f3 (diff)
downloadmauri-2178e5f94d26b6bdefa44e56d47a9257a2e73e74.tar.gz
mauri-2178e5f94d26b6bdefa44e56d47a9257a2e73e74.tar.bz2
mauri-2178e5f94d26b6bdefa44e56d47a9257a2e73e74.zip
Quit on sway exit, pin deps, refactor flake
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src')
-rw-r--r--src/context.h2
-rw-r--r--src/objects/pass.cc8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/context.h b/src/context.h
index 8866a7f..5dfcc8b 100644
--- a/src/context.h
+++ b/src/context.h
@@ -31,7 +31,7 @@ class Context
auto create_window(s32 width, s32 height, const std::string &name, const std::string monitor) -> bool
{
- this->window = stl_window_create();
+ this->window = stl_window_create(NULL);
this->window->pointer_pos_callback = pointer_pos_callback;
this->window->should_close_callback = should_close_callback;
this->window->userdata = this;
diff --git a/src/objects/pass.cc b/src/objects/pass.cc
index afe7c8a..4d2fd0f 100644
--- a/src/objects/pass.cc
+++ b/src/objects/pass.cc
@@ -274,8 +274,8 @@ RenderPass::RenderPass(Engine *engine, Pass *pass)
#ifdef _DEBUG_
debug("PASS (%s)", this->command == COPY ? "copy" : "draw");
debug(" object: %s (passthrough: %s, fullscreen %s)", this->object->name.c_str(),
- AL_BOOLSTR(this->object->passthrough), AL_BOOLSTR(this->object->fullscreen));
- debug(" visible: %s", AL_BOOLSTR(this->object->visible));
+ BOOLSTR(this->object->passthrough), BOOLSTR(this->object->fullscreen));
+ debug(" visible: %s", BOOLSTR(this->object->visible));
debug(" shader: %s", this->shader->origin()->name.c_str());
debug(" target: %s", pass->target.c_str());
debug(" textures (%u):", this->shader->origin()->texture_count);
@@ -304,8 +304,8 @@ RenderPass::RenderPass(Engine *engine, Pass *pass)
debug(" %s %s %s", uniform_type_to_string(uniform->type).c_str(),
uniform->uname.c_str(), glm::to_string(*uniform->value).c_str());
}
- debug(" model: %s", AL_BOOLSTR(this->model));
- debug(" combine: %s", AL_BOOLSTR(this->combine));
+ debug(" model: %s", BOOLSTR(this->model));
+ debug(" combine: %s", BOOLSTR(this->combine));
#endif
}