Skip to content

Commit 325e5ff

Browse files
committed
++
1 parent 908ed95 commit 325e5ff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

flutter/shell/platform/tizen/tizen_renderer_egl.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,16 @@ bool TizenRendererEgl::CreateSurface(void* render_target,
111111
tbm_surface_queue_h tbm_surface_queue_ =
112112
Dali::AnyCast<tbm_surface_queue_h>(
113113
dali_native_image_queue->GetNativeImageQueue());
114-
egl_surface_ = eglCreateWindowSurface(
115-
egl_display_, egl_config_,
116-
reinterpret_cast<EGLNativeWindowType>(tbm_surface_queue_), attribs);
117114
#else
118115
Dali::NativeImageSourceQueuePtr dali_native_image_queue =
119116
static_cast<Dali::NativeImageSourceQueue*>(render_target);
120117
tbm_surface_queue_h tbm_surface_queue_ =
121118
Dali::AnyCast<tbm_surface_queue_h>(
122119
dali_native_image_queue->GetNativeImageSourceQueue());
120+
#endif
123121
egl_surface_ = eglCreateWindowSurface(
124122
egl_display_, egl_config_,
125123
reinterpret_cast<EGLNativeWindowType>(tbm_surface_queue_), attribs);
126-
#endif
127124
#endif
128125
}
129126

0 commit comments

Comments
 (0)