]> git.pld-linux.org Git - packages/CEGUI.git/blame - ogre13.patch
- fix build with ogre 13, rel 8
[packages/CEGUI.git] / ogre13.patch
CommitLineData
57de7bc5
JR
1--- cegui-0.8.7/cegui/include/CEGUI/RendererModules/Ogre/Renderer.h.orig 2016-04-23 20:19:40.000000000 +0200
2+++ cegui-0.8.7/cegui/include/CEGUI/RendererModules/Ogre/Renderer.h 2022-03-11 21:36:04.637974284 +0100
3@@ -64,13 +64,13 @@
4 class Matrix4;
5 }
6
7-#if (CEGUI_OGRE_VERSION >= (2 << 16))
8+#if (CEGUI_OGRE_VERSION >= (20 << 16))
9 // The new Ogre Compositor2 system has to be used since ViewPorts
10 // no longer have the required functionality
11 #define CEGUI_USE_OGRE_COMPOSITOR2
12 #endif
13
14-#if (CEGUI_OGRE_VERSION >= ((2 << 16) | (1 << 8) | 0))
15+#if (CEGUI_OGRE_VERSION >= ((20 << 16) | (1 << 8) | 0))
16 // The HLMS has to be used since fixed pipeline is disabled
17 #define CEGUI_USE_OGRE_HLMS
18 #include <OgreRenderOperation.h>
19--- cegui-0.8.7/cegui/src/RendererModules/Ogre/Texture.cpp.orig 2022-03-12 09:40:45.000000000 +0100
20+++ cegui-0.8.7/cegui/src/RendererModules/Ogre/Texture.cpp 2022-03-12 09:43:34.620043093 +0100
21@@ -24,10 +24,12 @@
22 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 * OTHER DEALINGS IN THE SOFTWARE.
24 ***************************************************************************/
25+#include <sstream>
26 #include "CEGUI/RendererModules/Ogre/Texture.h"
27 #include "CEGUI/Exceptions.h"
28 #include "CEGUI/System.h"
29 #include "CEGUI/RendererModules/Ogre/ImageCodec.h"
30+#include <OgrePrerequisites.h>
31 #include <OgreTextureManager.h>
32 #include <OgreHardwarePixelBuffer.h>
33
This page took 0.517227 seconds and 4 git commands to generate.