summaryrefslogtreecommitdiffstats
path: root/src/core/delegated_frame_node.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-07-06 10:53:26 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-07-06 09:39:39 +0000
commit80a2497207b3824852578df63b30d8af4ee800a3 (patch)
tree957b59d8d2d00e67c5c71259a969ea28f2ca4c97 /src/core/delegated_frame_node.cpp
parent28f24039e91945da15c12e7cecf732fdda53b784 (diff)
Fix build with only OpenGL/ES2
Define the needed extension when not available at compile time. Change-Id: I93be828facb2d2e3bf16ac98c04ef3544d695675 Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/core/delegated_frame_node.cpp')
-rw-r--r--src/core/delegated_frame_node.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/delegated_frame_node.cpp b/src/core/delegated_frame_node.cpp
index d0e33a502..dee381e15 100644
--- a/src/core/delegated_frame_node.cpp
+++ b/src/core/delegated_frame_node.cpp
@@ -76,6 +76,10 @@
#include <EGL/eglext.h>
#endif
+#ifndef GL_TIMEOUT_IGNORED
+#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
+#endif
+
namespace QtWebEngineCore {
class MailboxTexture : public QSGTexture, protected QOpenGLFunctions {