http://www.dtdsoft.com/temp/Sample_Firs ... atic_d.exe (Place in your CEGUI/bin directory so it can access the default imagesets and such)
Basically: When a window is resized in CEGUI the other things rendered by Irrlicht flicker black.
To reproduce the bug using the examples:
On line 172 of CEGuiIrrlichtBaseApplication.cpp, chane
Code: Select all
d_driver->beginScene(true, true, irr::video::SColor(0, 0, 0, 0));
Code: Select all
d_driver->beginScene(true, true, irr::video::SColor(0, 255, 0, 0));
This causes the background to be red so you can see the flicker. Most of the samples have a background GUI element by default, so they will need it removed. The "FirstWindow" sample has no background so you see it right away.
MSVC Pro 2009
Irrlicht 1.6 as Static Debug with CEGUI (Compiled by me)
CEGUI Compiled as Static Debug by me using this premake configuration file
Precompiled Dependencies (Static, Debug)
I've been able to reproduce with multiple systems. Still affects it if objects are actually in the scene (I tested with the Maya Camera, a sphere on a fly circle animator, and a skydome.)
Finnally: Here is my CEGUI.log http://pastebin.com/f15226728
Also, I tried telling Irrlicht to not clear the screen, so my cursor and window ghost when I move them, but if I resize a window the whole thing clears and is reset.
I have also noticed this flickering when you type in edit boxes. Also, the background behind the text shows through the anti-aliased areas. But I think this is a Irrlicht bug because I have noticed it before when I use render targets (which I suppose CEGUI is using)
I tried ensuring the viewport and rt were proper before rendering to see if CEGUI was changing them. I also discovered a window with a very short (impossible UDims - it was an accident) height can cause Irrlicht to spam "Failed to set viewport" in DX9 anyway.