Skip to content

Commit

Permalink
update ! to not
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzzhHe committed Nov 30, 2024
1 parent 5be9a71 commit c42c9ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libopenage/renderer/demo/demo_1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void renderer_demo_1(const util::Path &path) {
ssize_t y = qpos.y();

log::log(INFO << "Clicked at location (" << x << ", " << y << ")");
if (!texture_data_valid) {
if (not texture_data_valid) {
id_texture_data = id_texture->into_data();
texture_data_valid = true;
}
Expand Down
2 changes: 1 addition & 1 deletion libopenage/renderer/demo/demo_2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ void renderer_demo_2(const util::Path &path) {
ssize_t y = qpos.y();

log::log(INFO << "Clicked at location (" << x << ", " << y << ")");
if (!texture_data_valid) {
if (not texture_data_valid) {
id_texture_data = id_texture->into_data();
texture_data_valid = true;
}
Expand Down
2 changes: 1 addition & 1 deletion libopenage/renderer/opengl/uniform_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ GlUniformBufferInput::GlUniformBufferInput(const std::shared_ptr<UniformBuffer>

bool GlUniformInput::is_complete() const {
for (const auto &uniform : this->update_offs) {
if (!uniform.used) {
if (not uniform.used) {
return false;
}
}
Expand Down

0 comments on commit c42c9ec

Please sign in to comment.