PocketMatrix forums

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

GDERR_BACKBUFFERLOST

is it possible to use GDERR_BACKBUFFERLOST without asking m_display.Flip:
Code:
if (m_display.Flip() == GDERR_BACKBUFFERLOST)
{
m_display.GetBackBuffer(&m;_backbuffer);
}


i want to turn off/on my ipaq without losing backbuffer-surface. with the code above eyerything is working fine, BUT i cannot use my direct drawing anymore. because flipping the display eyery callback makes my direct drawing not possible.

thanks
Hi,

Strange, the "direct drawing" property is only set when the display is first opened, and is not altered if the device is switched on or off.

What version of GapiDraw are you using? GDERR_BACKBUFFERLOST was removed in GapiDraw 2.01 (since this is now handled internally).

//Johan