Skip to content

Commit 97ef634

Browse files
committed
Initialize members properly
1 parent ba4c936 commit 97ef634

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

shell/platform/tizen/tizen_event_loop.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class TizenRenderEventLoop : public TizenEventLoop {
9494
virtual void OnTaskExpired() override;
9595

9696
private:
97-
TizenRenderer* tizen_renderer_;
97+
TizenRenderer* tizen_renderer_{nullptr};
9898
std::atomic_bool has_pending_renderer_callback_{false};
9999
};
100100
#endif

shell/platform/tizen/tizen_renderer_evas_gl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ class TizenRendererEvasGL : public TizenRenderer {
5252
Evas_Object* evas_window_{nullptr};
5353
Evas_Object* graphics_adapter_{nullptr};
5454

55-
Evas_GL_Config* gl_config_;
55+
Evas_GL_Config* gl_config_{nullptr};
5656
Evas_GL* evas_gl_{nullptr};
5757

58-
Evas_GL_Context* gl_context_;
59-
Evas_GL_Context* gl_resource_context_;
58+
Evas_GL_Context* gl_context_{nullptr};
59+
Evas_GL_Context* gl_resource_context_{nullptr};
6060

6161
Evas_GL_Surface* gl_surface_{nullptr};
6262
Evas_GL_Surface* gl_resource_surface_{nullptr};

0 commit comments

Comments
 (0)