[OgreRenderer] Format of pixels read back from textures is incorrect (i.e. BGR not RGB)

Issue #791 resolved
Paul Turner
created an issue

See: http://www.cegui.org.uk/phpBB2/viewtopic.php?t=6122

Reproducibility: always

Steps to reproduce: Start common dialogs demo. Get the colour selector dialog up. Look at the main colour selection palette.

In all renderers except ogre the colours will correspond to the values in the other controls - by default red (255, 0, 0); in the OgreRenderer the palette selector will show this as blue (0, 0, 255).

Comments (1)

  1. Paul Turner reporter

    This was actually more of a Texture::loadFromMemory issue.

    changeset: 3308:97278cf462e2 user: Paul Turner <paul@cegui.org.uk> date: Mon Jun 04 17:02:44 2012 +0100 summary: FIX: Flip some RGB vs BGR formats around in Ogre renderer so that things match up correctly with what the other renderers do with particular pixel formats.

  2. Log in to comment