I got everything working by copying code from the CEGuiOpenGLBaseApplication.h into my renderer code and replacing the direct x code.
Right now when I run my program, I see the first frame that should appear, and the spinning cegui logo. The logo renders fine, but my cegui root window is not updating. The fps counter does seem to work fine as well.
The code looks basically like this:
Code: Select all
while (doWin32Events(idle))
{
if (idle)
{
glutMainLoop();
}
}
It is calling my drawFrame() function which is identical to the one from CEGuiOpenGLBaseApplication, so I am not sure what else I need to do. I am sure I am missing something obvious here, but could anyone give me any quick tips on what I might need to change?
my cegui mouse cursor works fine as well, just the main cegui root window is not updating properly.
Code: Select all
---- Version 0.7.5 (Build: Nov 19 2010 Static Microsoft Windows MSVC++ 9.0 32 bit) ----
05/03/2012 20:16:20 (Std) ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module. TextureTarget support enabled via FBO extension. ----
05/03/2012 20:16:20 (Std) ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
05/03/2012 20:16:20 (Std) ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
05/03/2012 20:16:20 (Std) ---- Scripting module is: None ----