Commit 2c1c858d authored by Martin Flöser's avatar Martin Flöser
Browse files

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
parent 5e989698
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment