Hello. I'm trying to use OpenGL ES in following scernario (testing on Dell Axim x51v): Create surface, context and etc. once but *do not* make current it. Then, on some event (WM_LBUTTONUP) I make it current and rendering runs (in usual way - if no message, render the frame). During rendering period, there is no any GDI drawing performed. When GL rendering completed (some kind of animation) I call eglMakeCurrent(dpy, 0, 0, 0) and detach the context. BUT I do not kill surfaces and context. Just detach it! After that, I draw in "normal" way again - using GDI drawing in WM_PAINT. BUT there is a BIG problem! Sometimes after detaching context drawing in WM_PAINT works FINE, but sometimes the last rendered by GL screen still visible (context detached!) and *ANY* drawing in WM_PAINT has *NO* visible result! Well, lets start GL rendering again. It may be that after it WM_PAINT will work fine, but may be not. So, after GL rendering and context detach WM_PAINT drawing *do not* works, and sometimes works. Any ideas? Is it bug or it should be this way?