Hi all, I just found an Internet connection...
We have discovered an issue with GapiDraw 3.50 beta1 which was caused by a last-minute modification to the Pocket PC version of GapiDraw. If you are experiencing a crash with the Palm version of 3.50, please do the following (thanks to Saurabh for the code):
=============
//Our class so as to initialize the back buffer
class _CGapiDisplay : public CGapiDisplay
{
public:
_CGapiDisplay(CGapiDraw* pGapiDraw) : CGapiDisplay(pGapiDraw)
{
m_pBackBuffer = new CGapiSurface(pGapiDraw);
}
};
================
And in CGapiDisplay class:
====================
// Attributes
//changed private to protected so that we can initialize m_pBackBuffer in
our own _CGapiDisplay class
protected:
CGapiSurface* m_pBackBuffer;
=====================
Now when in GapiApplication.cpp:
========================
CGapiApplication::CGapiApplication(const GDAPPCONFIG& config)
{
memcpy(&m_config, &config, sizeof(GDAPPCONFIG));
m_bAppShouldExit = FALSE;
m_bDisplayModeShouldChange = FALSE;
m_dwFrameFlags = 0;
m_dwCollapseAPIVersion = 0;
m_pGapiDraw = new CGapiDraw();
////m_pDisplay = new CGapiDisplay(m_pGapiDraw);
m_pDisplay = new _CGapiDisplay(m_pGapiDraw);
m_pInput = new CGapiInput(m_pGapiDraw);
}
==========================
We are working on multiple branches of 3.50 in parallel, and the above was my fault since Mikael is busy on the Zodiac features in 3.50...
We have discovered an issue with GapiDraw 3.50 beta1 which was caused by a last-minute modification to the Pocket PC version of GapiDraw. If you are experiencing a crash with the Palm version of 3.50, please do the following (thanks to Saurabh for the code):
=============
//Our class so as to initialize the back buffer
class _CGapiDisplay : public CGapiDisplay
{
public:
_CGapiDisplay(CGapiDraw* pGapiDraw) : CGapiDisplay(pGapiDraw)
{
m_pBackBuffer = new CGapiSurface(pGapiDraw);
}
};
================
And in CGapiDisplay class:
====================
// Attributes
//changed private to protected so that we can initialize m_pBackBuffer in
our own _CGapiDisplay class
protected:
CGapiSurface* m_pBackBuffer;
=====================
Now when in GapiApplication.cpp:
========================
CGapiApplication::CGapiApplication(const GDAPPCONFIG& config)
{
memcpy(&m_config, &config, sizeof(GDAPPCONFIG));
m_bAppShouldExit = FALSE;
m_bDisplayModeShouldChange = FALSE;
m_dwFrameFlags = 0;
m_dwCollapseAPIVersion = 0;
m_pGapiDraw = new CGapiDraw();
////m_pDisplay = new CGapiDisplay(m_pGapiDraw);
m_pDisplay = new _CGapiDisplay(m_pGapiDraw);
m_pInput = new CGapiInput(m_pGapiDraw);
}
==========================
We are working on multiple branches of 3.50 in parallel, and the above was my fault since Mikael is busy on the Zodiac features in 3.50...