Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Merge branch 'master' into linux-shell-resource-context
  • Loading branch information
robert-ancell committed Jun 9, 2020
commit d8513571f97439b3ca813b028356a46155476c21
3 changes: 3 additions & 0 deletions shell/platform/linux/fl_renderer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ gboolean fl_renderer_make_resource_current(FlRenderer* self, GError** error) {
FlRendererPrivate* priv =
static_cast<FlRendererPrivate*>(fl_renderer_get_instance_private(self));

if (priv->resource_surface == nullptr || priv->resource_context == nullptr)
return FALSE;

if (!eglMakeCurrent(priv->egl_display, priv->resource_surface,
priv->resource_surface, priv->resource_context)) {
g_set_error(error, fl_renderer_error_quark(), FL_RENDERER_ERROR_FAILED,
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.