SDK 3.3: Print3D uniform location bug

This topic contains 2 replies, has 2 voices, and was last updated by  Joe Davis 3 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #38684

    I noticed a potentially serious bug in the Print3DAPI class. The uniform locations for the font and logo are swapped. The code works anyway only because these values just happen to be the same.

    At line 418 in: SDK_3.3ToolsOGLES2PVRTPrint3DAPI.cpp:

    Data.mvpLocationLogo = glGetUniformLocation(Data.uProgramFont, “myMVPMatrix”);
    Data.mvpLocationFont = glGetUniformLocation(Data.uProgramLogo, “myMVPMatrix”);

    Regards, Clay


    Joe Davis

    Hi Clay,

    Thanks for reporting the issue. I’ve filed it as BRN48345 in our internal tracker.

    In the future, I would recommend using our external bug/feedback tracking system, as it makes it easier for other developers to see active bug reports and their status:



    Joe Davis

    This discussion was created from comments split from: PowerVR Graphics SDK v3.3 is live!.

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