The color of BGRA is wrong on SDK 3.1 PVRFrame OGLES1.1 Windows

This topic contains 1 reply, has 2 voices, and was last updated by  chris 4 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #31223


    I modified the AlphaBlend example, removed foreground.cpp, and encoded the foreground.pvr to the BGRA8888 format. The color of foreground texture in the example running would changed to blue.
    I step into the code(PVRTTexutreAPI.cpp line 542), the eTextureInternalFormat and eTextureFormat are both GL_BGRA(0x80E1).

    I tried the same example on the OGLES_WINDOWS_X86EMULATION_2.10, the color would be red without changing.

    Is this a bug on SDK 3.0/3.1 PVRFrame Windows?



    Hi Microkong, thanks for reporting this. This is indeed a bug which was introduced in 3.1 and should be fixed in the next release.

    Thanks for your patience!

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.