30 Sept 2008

Man...part 2

After all the trouble, I finally found out the cause of the exception...basically I can't use any CLR compilation in any of my projects with CEGUI library. I might be able to do it if I compile CEGUI from its source code, but I think I won't bother to try that. For now, I will just have 2 compile setting, 1 for the game application, the other for the editor. In editor, it will use CLR and not using CEGUI, and in the application, the reverse will be set. That should solve the problem finally.

But man, I should have thought of this earlier.

Another thing is...it seems CEGUI changes the renderer states after it renders. Hm...shouldn't it restore the states instead of me trying do it myself? Yep...looks like nothing is perfect in this world.

No comments: