Skip to content

Effects fail to compile on PowerPC for non debug builds #80

@Fancy2209

Description

@Fancy2209

I have no idea why, but this check:

if (!((magic == 0xFEFF) && (version_major == 0x09) && (version_minor == 0x01)))
{
MOJOSHADER_deleteEffect(retval);
return &MOJOSHADER_not_an_effect_effect;
} // if

Fails under release builds on PowerPC and PowerPC64
However when I set CMAKE_BUILD_TYPE to Debug, it magically starts working...
Seen on ArchPOWER on the PS3 and Wii, actual PowerPC Macs should be able to reproduce this though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions