Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Jul 28, 2023
1 parent b0c02d3 commit 469bba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/common/server/cpu_copy_output_surface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ auto create_current_context(EGLDisplay dpy, EGLContext share_ctx)
};

auto egl_extensions = eglQueryString(dpy, EGL_EXTENSIONS);
if (strstr(egl_extensions, "EGL_KHR_no_config_context"))
if (strstr(egl_extensions, "EGL_KHR_no_config_context") == nullptr)
{
// We do not *strictly* need this, but it means I don't need to thread a GLConfig all the way through to here.
BOOST_THROW_EXCEPTION((std::runtime_error{"EGL implementation missing necessary EGL_KHR_no_config_context extension"}));
Expand Down

0 comments on commit 469bba1

Please sign in to comment.