Currently I'm taking an array of shorts which is 240 x 320 and one by one putting them onto the back buffer using the code borrowed from the Plasma demo however this seems a really slow way to do this. The frame rate gives an ok 3D display but could be faster.
How can I take this array of shorts where each short is already containing the correct RGB values & simply Blit this to the backbuffer. It's already the correct size with the correct content but it's not a surface. I have tried to make it a surface which builds & then crashes so I obviously don;t know what to do. I guess it's only a few lines of code but I can't figure it out.
Thanks in advance
How can I take this array of shorts where each short is already containing the correct RGB values & simply Blit this to the backbuffer. It's already the correct size with the correct content but it's not a surface. I have tried to make it a surface which builds & then crashes so I obviously don;t know what to do. I guess it's only a few lines of code but I can't figure it out.
Thanks in advance