From 41836b065f804530681f8454463f372dc6d1fc8a Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Wed, 29 Jan 2014 18:23:47 +0100 Subject: [PATCH] Add missing #include in glxconvenience/qglxconvenience.cpp in qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe.patch --- ...ensource-src-5.2.0-allow-forcing-llvmpipe.patch | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe.patch b/qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe.patch index 432c26f..279dc52 100644 --- a/qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe.patch +++ b/qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe.patch @@ -1,7 +1,15 @@ diff -ur qtbase-opensource-src-5.2.0/src/platformsupport/glxconvenience/qglxconvenience.cpp qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe/src/platformsupport/glxconvenience/qglxconvenience.cpp --- qtbase-opensource-src-5.2.0/src/platformsupport/glxconvenience/qglxconvenience.cpp 2013-12-08 18:09:47.000000000 +0100 -+++ qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe/src/platformsupport/glxconvenience/qglxconvenience.cpp 2014-01-29 17:41:57.000000000 +0100 -@@ -116,6 +116,27 @@ ++++ qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe/src/platformsupport/glxconvenience/qglxconvenience.cpp 2014-01-29 18:18:47.000000000 +0100 +@@ -43,6 +43,7 @@ + + #include + #include ++#include + + #ifndef QT_NO_XRENDER + #include +@@ -116,6 +117,27 @@ GLXFBConfig qglx_findConfig(Display *display, int screen , const QSurfaceFormat &format, int drawableBit) { @@ -29,7 +37,7 @@ diff -ur qtbase-opensource-src-5.2.0/src/platformsupport/glxconvenience/qglxconv bool reduced = true; GLXFBConfig chosenConfig = 0; QSurfaceFormat reducedFormat = format; -@@ -159,6 +180,10 @@ +@@ -159,6 +181,10 @@ reducedFormat = qglx_reduceSurfaceFormat(reducedFormat,&reduced); }