Fix minor typos
This commit is contained in:
parent
29539645cc
commit
9fa822c666
|
@ -7,7 +7,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
#include <GLES3/gl3.h>
|
#include <GLES2/gl2.h>
|
||||||
#include <wlr/interfaces/wlr_output.h>
|
#include <wlr/interfaces/wlr_output.h>
|
||||||
#include <wlr/util/log.h>
|
#include <wlr/util/log.h>
|
||||||
#include "backend/wayland.h"
|
#include "backend/wayland.h"
|
||||||
|
|
|
@ -59,7 +59,7 @@ static bool egl_exts(struct wlr_egl *egl) {
|
||||||
egl->create_platform_window_surface = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)
|
egl->create_platform_window_surface = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)
|
||||||
eglGetProcAddress("eglCreatePlatformWindowSurfaceEXT");
|
eglGetProcAddress("eglCreatePlatformWindowSurfaceEXT");
|
||||||
|
|
||||||
if (!egl->get_platform_display) {
|
if (!egl->create_platform_window_surface) {
|
||||||
wlr_log(L_ERROR,
|
wlr_log(L_ERROR,
|
||||||
"Failed to load EGL extension 'eglCreatePlatformWindowSurfaceEXT'");
|
"Failed to load EGL extension 'eglCreatePlatformWindowSurfaceEXT'");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue