diff options
author | Emil Velikov <[email protected]> | 2015-07-14 00:19:54 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-07-22 16:35:26 +0100 |
commit | 3593f37fd7b599e217bd1f894ac671a14a058b8d (patch) | |
tree | ea4a1a0c3db3136976f6c11a4ce38ad57d332652 /src/egl/main/eglapi.c | |
parent | d62879565a5c8479c3cfea513aa4e90f0d90b304 (diff) |
egl: remove custom string functions
Support for Windows has been removed for a while now, and virtually
every POSIX compliant system provides strcasecmp, strdup and snprintf.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/egl/main/eglapi.c')
-rw-r--r-- | src/egl/main/eglapi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index 824e51ea55e..96bd8856c25 100644 --- a/src/egl/main/eglapi.c +++ b/src/egl/main/eglapi.c @@ -100,7 +100,6 @@ #include "eglconfig.h" #include "eglimage.h" #include "eglsync.h" -#include "eglstring.h" /** @@ -506,7 +505,7 @@ eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) _eglComputeVersion(disp); _eglCreateExtensionsString(disp); _eglCreateAPIsString(disp); - _eglsnprintf(disp->VersionString, sizeof(disp->VersionString), + snprintf(disp->VersionString, sizeof(disp->VersionString), "%d.%d (%s)", disp->Version / 10, disp->Version % 10, disp->Driver->Name); } |