Say I have surface in memory, but there's no corresponding file or resource.
If the display rotates, that surface now has the "wrong" orientation.
Can this surface still be used (e.g. blitted)? I assume it cannot.
What is the best way to rotate it so it has the proper orientation? I tried a blit, and CreateSurface(CGapiSurface*), but both return GDERR_INCOMPATIBLEPRIMARY.
Must I use get/set pixel to do the rotation myself? Or access the raw buffer? Isn't there a better way?
If the display rotates, that surface now has the "wrong" orientation.
Can this surface still be used (e.g. blitted)? I assume it cannot.
What is the best way to rotate it so it has the proper orientation? I tried a blit, and CreateSurface(CGapiSurface*), but both return GDERR_INCOMPATIBLEPRIMARY.
Must I use get/set pixel to do the rotation myself? Or access the raw buffer? Isn't there a better way?