N97 - Dark Screen after OnRestore

Hi,
I'm working on an application for Nokia N97 using OpenGL and the latest EDGELIB Version.
My problem is as follows: Each time I restore the application back to the foreground, the application window is displayed and over it there is a dark surface, which is a left over from the minimize that sent the application to the background.
Note that the application is responsive to touch after the restore.
I've tried out a few things (Symbian code) in order to try and solve this problem.
1. I've tried to turn on the lights of the device, with no apparent success.
2. I've noticed that locking and locking the device helps getting rid of the dark surface, so I've tried to simply unlock the device. It didn't work.
The only thing that did show some results was - Locking the device and then Unlocking it.
The problem here is that I get into a loop of OnRestore() -> Lock -> UnLock -> OnRestore() and so on..
Another important remark would be that other EDGELIB applications I've written, that don't use OpenGL, work just fine when minimized and restored.
Any suggestions on how to solve this issue ?
Thank you for your time,
Ita
I'm working on an application for Nokia N97 using OpenGL and the latest EDGELIB Version.
My problem is as follows: Each time I restore the application back to the foreground, the application window is displayed and over it there is a dark surface, which is a left over from the minimize that sent the application to the background.
Note that the application is responsive to touch after the restore.
I've tried out a few things (Symbian code) in order to try and solve this problem.
1. I've tried to turn on the lights of the device, with no apparent success.
2. I've noticed that locking and locking the device helps getting rid of the dark surface, so I've tried to simply unlock the device. It didn't work.
The only thing that did show some results was - Locking the device and then Unlocking it.
The problem here is that I get into a loop of OnRestore() -> Lock -> UnLock -> OnRestore() and so on..
Another important remark would be that other EDGELIB applications I've written, that don't use OpenGL, work just fine when minimized and restored.
Any suggestions on how to solve this issue ?
Thank you for your time,
Ita