PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Images flickering

The game is flickering on PPC's, but not on the emulator.

Code:

// Start rendering:
Buffer = (unsigned short *)GXBeginDraw();

// Display an BG Image (doesn't flicker)

// Ca 5 ms later, display another image (flickers)


// Stop rendering
GXEndDraw();


I thought 'Buffer' would be working like a normal backbuffer and the image data is pushed on the screen when calling GXEndDraw();. Or should I call the GX functions before and after each image?
Do PPC's have an v-sync?
Some PPCs copy the data to the screen when GXEndDraw() is called. Most PPCs just return the location of the buffer when you call GXBeginDraw() and don't do anything with GXBeginDraw().

BTW, this post really should be on the general dev forumn, since this forumn is for GAPITools, a pocketpc developement library.

Also, there was recently a post on another forumn (I forget which) about VSync on PPCs. Short version, yes there is, but it's really hard to use.