my window wont close :(

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
ErUs

my window wont close :(

Post by ErUs »

ok,
i have a title screen with gui elements. when the user clicks start game my new window is created but i cant close the title screen window.

I have tried device->drop and device->close<watever>

plz help me :(
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

Post by DarkWhoppy »

Show some code...
Guest

Post by Guest »

Code: Select all

device = createDevice(video::EDT_OPENGL,
		core::dimension2d<s32>(200, 100), 16, false, false, &receiver);
how do i close this window without the program stoping?
DarkWhoppy
Posts: 386
Joined: Thu Sep 25, 2003 12:43 pm
Contact:

Post by DarkWhoppy »

device->closeDevice();

If that doesn't work... you have some type of missing/unassigned pointer in your code thats making it buggy.
Post Reply