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
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
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
22 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 * OTHER DEALINGS IN THE SOFTWARE.
24 ***************************************************************************/
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>