Package: libcegui-mk2-0 Version: 0.3.0-3 Severity: important Tags: patch The included patch makes the image-flipping occur only on images for which it is necessary.
-- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages libcegui-mk2-0 depends on: ii freeglut3 2.4.0-4 OpenGL Utility Toolkit ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an ii libdevil1c2 1.6.7-4.1 DevIL image manipulation toolkit r ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib ii libgcc1 1:4.0.2-4 GCC support library ii libglu1-xorg [libglu1] 6.8.2.dfsg.1-11 Mesa OpenGL utility library [X.Org ii libice6 6.8.2.dfsg.1-11 Inter-Client Exchange library ii libsm6 6.8.2.dfsg.1-11 X Window System Session Management ii libstdc++6 4.0.2-4 The GNU Standard C++ Library v3 ii libxerces26c2 2.6.0-6 validating XML parser library for ii xlibmesa-gl [libgl1] 6.8.2.dfsg.1-11 Mesa 3D graphics library [X.Org] ii zlib1g 1:1.2.3-8 compression library - runtime libcegui-mk2-0 recommends no packages. -- no debconf information
--- cegui_mk2-0.3.0/src/renderers/OpenGLGUIRenderer/opengltexture.cpp 2005-05-27 07:49:08.000000000 -0400 +++ cegui_mk2-0.3.0/src/renderers/OpenGLGUIRenderer/opengltexture.cpp-new 2005-12-04 16:51:23.000000000 -0500 @@ -128,7 +128,12 @@ if (ilLoadL(IL_TYPE_UNKNOWN, texFile.getDataPtr(), texFile.getSize()) != IL_FALSE) { // flip the image - iluFlipImage(); + int origin = ilGetInteger(IL_IMAGE_ORIGIN); + if (origin == IL_ORIGIN_LOWER_LEFT) + { + iluFlipImage(); + } + // get details about size of loaded image ILinfo imgInfo;