diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/context.h | 2 | ||||
| -rw-r--r-- | src/objects/pass.cc | 8 |
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 } |