aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-17 18:29:20 -0400
committerDrew DeVault <sir@cmpwn.com>2017-09-17 18:29:52 -0400
commit9fa822c666dd75f8cad33bc8676300f6e71bcc4f (patch)
treeaaaac5dea45d3e0a54ec5f487d0a8576eef79a14
parent29539645ccaa6ff0d4eb304e1a5d5ac8f65447a2 (diff)
Fix minor typos
-rw-r--r--backend/wayland/output.c2
-rw-r--r--render/egl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c
index e5079001..3e673bcc 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -7,7 +7,7 @@
#include <sys/types.h>
#include <sys/mman.h>
#include <wayland-client.h>
-#include <GLES3/gl3.h>
+#include <GLES2/gl2.h>
#include <wlr/interfaces/wlr_output.h>
#include <wlr/util/log.h>
#include "backend/wayland.h"
diff --git a/render/egl.c b/render/egl.c
index 73680d1d..2db8d4c0 100644
--- a/render/egl.c
+++ b/render/egl.c
@@ -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;