N97 - Dark Screen after OnRestoreedge wrote:Hi,
Perhaps the issue is caused by OpenGL not properly being cleared.
Could you try the following?
- Calling ecd.dsp->Resume() after OnRestore
- Calling ecd.dsp->Clear() and see if it gets rid of the black screen
- Closing and reopening the display
edge wrote:Hi Ita,
I'm affraid reopening the display isn't going to work. Can you tell me if you refresh the display every frame? Also, is the screen really black or just dimmed?
RapchikProgrammer wrote:Are you sure your backlight is on? if not write this line in OnFrameworkConfig:
config->backlighton = true;
RapchikProgrammer wrote:are you clearing your buffers before blitting with this:
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
it should be once at the beginning of OnNextFrame..
1
2
3
4
5
6
#if defined(EGL_SYMBIAN)
glClearColorx(0, 19968, 38912, 65536);
#else
glClearColor(0, 0.3f, 0.6f, 1);
#endif
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
6 lines; 4 keywds; 10 nums; 20 ops; 0 strs; 0 coms Syntactic Coloring v0.4 - Dan East