Fix minor typos

This commit is contained in:
Drew DeVault 2017-09-17 18:29:20 -04:00
parent 29539645cc
commit 9fa822c666
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ static bool egl_exts(struct wlr_egl *egl) {
egl->create_platform_window_surface = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)
eglGetProcAddress("eglCreatePlatformWindowSurfaceEXT");
if (!egl->get_platform_display) {
if (!egl->create_platform_window_surface) {
wlr_log(L_ERROR,
"Failed to load EGL extension 'eglCreatePlatformWindowSurfaceEXT'");
return false;