Skip to content

Commit

Permalink
Canvas: fix review findins
Browse files Browse the repository at this point in the history
  • Loading branch information
kullingk committed Nov 13, 2024
1 parent f91a4f9 commit 2e927c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Engine/App/Component.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ bool RenderComponent::onRender(RenderBackendService *renderBackendSrv) {
return true;
}

LightComponent::LightComponent(Entity *owner) : Component(owner, ComponentType::LightComponentType), mLight(nullptr) {
LightComponent::LightComponent(Entity *owner) : Component(owner, ComponentType::LightComponentType) {
// empty
}

Expand Down
2 changes: 1 addition & 1 deletion src/Engine/App/Component.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class LightComponent final : public Component {
bool onRender(RenderBackend::RenderBackendService *rbSrv) override;

private:
RenderBackend::Light *mLight;
RenderBackend::Light *mLight = nullptr;
};

} // namespace App
Expand Down

0 comments on commit 2e927c1

Please sign in to comment.