Fix build error when GLES is not available
Note to me: always rebuild with all possible build options if something is changed. Sorry for the inconvenience and thanks to the early report of the issue. BUG: 307866 FIXED-IN: 4.10
This commit is contained in:
parent
97a6bb139c
commit
ba08ff6a14
1 changed files with 7 additions and 2 deletions
|
@ -27,6 +27,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#define KWIN_EXPORT KDE_EXPORT
|
||||
|
||||
// common functionality
|
||||
namespace KWin {
|
||||
|
||||
void KWIN_EXPORT glResolveFunctions(OpenGLPlatformInterface platformInterface);
|
||||
|
||||
}
|
||||
|
||||
#ifndef KWIN_HAVE_OPENGLES
|
||||
|
||||
#include <GL/gl.h>
|
||||
|
@ -75,7 +82,6 @@ namespace KWin
|
|||
{
|
||||
|
||||
void KWIN_EXPORT glxResolveFunctions();
|
||||
void KWIN_EXPORT glResolveFunctions();
|
||||
|
||||
|
||||
// Defines
|
||||
|
@ -357,7 +363,6 @@ namespace KWin
|
|||
{
|
||||
|
||||
void KWIN_EXPORT eglResolveFunctions();
|
||||
void KWIN_EXPORT glResolveFunctions(OpenGLPlatformInterface platformInterface);
|
||||
// EGL
|
||||
typedef EGLImageKHR(*eglCreateImageKHR_func)(EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const EGLint*);
|
||||
typedef EGLBoolean(*eglDestroyImageKHR_func)(EGLDisplay, EGLImageKHR);
|
||||
|
|
Loading…
Reference in a new issue