[Solved] Rendering doesn't work

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

gooman
Just popping in
Just popping in
Posts: 10
Joined: Thu Nov 27, 2014 23:26

[Solved] Rendering doesn't work

Postby gooman » Thu Nov 27, 2014 23:30

Hey,

I'm using a custom class to "initialize" CEGUI, everything works (Loading etc.) without crashes. But there is nothing drawn. Here is my rendering and initialize codeblock:

Code: Select all

~snip~


I only get a black window (Without clearing the d3device), or a white one (with clearing the d3device).

CEGUI.log:
http://pastebin.com/jRr2bXNH

EDIT:

I solved it using getDefaultGUIContext().setRootWindow(root);

About ~15 Minutes after I made the post I fixed it sorry :/.
Last edited by gooman on Sat Nov 29, 2014 22:38, edited 1 time in total.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: [Solved] Rendering doesn't work

Postby Ident » Fri Nov 28, 2014 01:54

A good first post :D
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 31 guests