Skip to content

Commit

Permalink
Initialize members properly
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-kim committed Apr 22, 2021
1 parent 1fe0a83 commit e8f434f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shell/platform/tizen/tizen_event_loop.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class TizenRenderEventLoop : public TizenEventLoop {
virtual void OnTaskExpired() override;

private:
TizenRenderer* tizen_renderer_;
TizenRenderer* tizen_renderer_{nullptr};
std::atomic_bool has_pending_renderer_callback_{false};
};
#endif
Expand Down
6 changes: 3 additions & 3 deletions shell/platform/tizen/tizen_renderer_evas_gl.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ class TizenRendererEvasGL : public TizenRenderer {
Evas_Object* evas_window_{nullptr};
Evas_Object* graphics_adapter_{nullptr};

Evas_GL_Config* gl_config_;
Evas_GL_Config* gl_config_{nullptr};
Evas_GL* evas_gl_{nullptr};

Evas_GL_Context* gl_context_;
Evas_GL_Context* gl_resource_context_;
Evas_GL_Context* gl_context_{nullptr};
Evas_GL_Context* gl_resource_context_{nullptr};

Evas_GL_Surface* gl_surface_{nullptr};
Evas_GL_Surface* gl_resource_surface_{nullptr};
Expand Down

0 comments on commit e8f434f

Please sign in to comment.