Get rid of compiler warnings about unused getEglErrorString()
This commit is contained in:
parent
d6309eb605
commit
8eaebe5b7d
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
#include <QString>
|
||||
#include <epoxy/egl.h>
|
||||
|
||||
static QString getEglErrorString(EGLint errorCode)
|
||||
static inline QString getEglErrorString(EGLint errorCode)
|
||||
{
|
||||
switch (errorCode) {
|
||||
case EGL_SUCCESS:
|
||||
|
@ -49,7 +49,7 @@ static QString getEglErrorString(EGLint errorCode)
|
|||
}
|
||||
}
|
||||
|
||||
static QString getEglErrorString()
|
||||
static inline QString getEglErrorString()
|
||||
{
|
||||
return getEglErrorString(eglGetError());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue