bug in PVRTTexture.h?

This topic contains 3 replies, has 2 voices, and was last updated by  Tobias Hector 4 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31174

    Deep
    Member

    I’m including the header PVRTTexture.h for purposes of building a cross platform PVR texture loader. Unfortunately the following code in the operator= method of the MetaDataBlock struct won’t compile because the data type PVRTuint is not defined. I believe this should be “PVRTuint32” instead of “PVRTuint:32”, as when I make this change it compiles.

    for (PVRTuint:32 uiDataAmt=0; uiDataAmt
    {
    Data[uiDataAmt]=rhs.Data[uiDataAmt];
    }

    #36794

    Hi Deep,

    Yes it should be a PVRTuint32, though I’m not sure where you’ve had that error from, as both our current 3.0 and our next 3.1 release have it set at the correct type. Which version of the SDK are you using?

    Thanks,
    Tobias

    #36795

    Deep
    Member

    The installer is PowerVRSDKSetup-3.0r2, which appears to be what is available from your website still. I’m happy to upgrade to 3.1 if you can point me to it.

    #36796

    Hi Deep,

    3.1 isn’t available yet, but will be available on the website as soon as it’s ready. I’m not sure how that bug slipped in though – it shouldn’t be present in the 3.0r2 release – all our code is built and must build before we ship it. Either way, the bug is certainly no longer present in our code so shouldn’t pose a problem in future.

    Thanks,
    Tobias

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