From 9e46b8e659bfb61a713f099a339c1c1e8b552a8f Mon Sep 17 00:00:00 2001 From: Yaron Cohen-Tal Date: Tue, 13 Dec 2016 12:26:41 +0000 Subject: [PATCH] Use the appropriate GLES library name for Windows Shared libraries on Windows use `.dll` for the extension, not `.so`. Signed-off-by: Emmanuele Bassi --- src/dispatch_common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dispatch_common.c b/src/dispatch_common.c index c0c7156..74ad645 100644 --- a/src/dispatch_common.c +++ b/src/dispatch_common.c @@ -114,6 +114,10 @@ #define EGL_LIB "libEGL.so" #define GLES1_LIB "libGLESv1_CM.so" #define GLES2_LIB "libGLESv2.so" +#elif defined _WIN32 +#define EGL_LIB "libEGL.dll" +#define GLES1_LIB "libGLES_CM.dll" +#define GLES2_LIB "libGLESv2.dll" #else #define EGL_LIB "libEGL.so.1" #define GLES1_LIB "libGLESv1_CM.so.1"