From c3c9bf704f39cb2b33d03bdc994b5b06af0af258 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Sat, 10 Mar 2018 17:18:46 +0200 Subject: EGL: s/win/window/ --- src/libEGL.c | 4 ++-- 1 file 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); } -- cgit v1.2.3-70-g09d2