summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-03-10 17:18:46 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-03-10 17:18:46 +0200
commitc3c9bf704f39cb2b33d03bdc994b5b06af0af258 (patch)
treec2e9851f18d9c633450923dfa2b413764d82cbe9
parentf2ea74f9f5ec58419e9452439b6a03f5da16c702 (diff)
EGL: s/win/window/
-rw-r--r--src/libEGL.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libEGL.c b/src/libEGL.c
index 291e16f..45e8ffb 100644
--- a/src/libEGL.c
+++ b/src/libEGL.c
@@ -23,6 +23,6 @@ eglCreateWindowSurface(EGLDisplay display, EGLConfig config, NativeWindowType na
{
static union { EGLSurface (*fun)(EGLDisplay, EGLConfig, NativeWindowType, EGLint const*); void *ptr; } orig;
if (!orig.ptr) orig.ptr = dlsym(RTLD_NEXT, "eglCreateWindowSurface");
- struct ANativeWindow *win = (struct ANativeWindow*)native_window;
- return orig.fun(display, config, glfwGetX11Window(win->glfw), attrib_list);
+ struct ANativeWindow *window = (struct ANativeWindow*)native_window;
+ return orig.fun(display, config, glfwGetX11Window(window->glfw), attrib_list);
}