Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Fix inverted check in creating resource surface #18989

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shell/platform/linux/fl_renderer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static void create_resource_surface(FlRenderer* self, EGLConfig config) {
EGL_NONE};
priv->resource_surface = eglCreatePbufferSurface(priv->egl_display, config,
resource_context_attribs);
if (priv->resource_surface != nullptr) {
if (priv->resource_surface == nullptr) {
g_warning("Failed to create EGL resource surface: %s", get_egl_error());
return;
}
Expand Down