Search found 6 matches

by tkarkkainen
Tue Dec 07, 2004 2:03 pm
Forum: Advanced Help
Topic: smgr->drawAll() causes illegal operation
Replies: 17
Views: 2240

Yes, I indeed did try that.
by tkarkkainen
Fri Dec 03, 2004 7:30 pm
Forum: Advanced Help
Topic: smgr->drawAll() causes illegal operation
Replies: 17
Views: 2240

I tried both. Didn't help but thanks for trying.
by tkarkkainen
Wed Dec 01, 2004 4:43 pm
Forum: Advanced Help
Topic: smgr->drawAll() causes illegal operation
Replies: 17
Views: 2240

if ( ! driver->beginScene( true, true, video::SColor ( 0, 100, 100, 100) ) )
printf ( "CATASTROPHIC FAILURE!" );
smgr->drawAll();
driver->endScene();

I tried this and it makes no difference. The program doesn't output catastrophic failure, but the problem still remains.

I'm using the Dev-C ...
by tkarkkainen
Mon Nov 29, 2004 5:42 pm
Forum: Advanced Help
Topic: smgr->drawAll() causes illegal operation
Replies: 17
Views: 2240

Sorry for the long silence.

T101: that line is in a class that is inherited from irr::IEventReceiver. Hopefully this bit of information helps.

I've really been pulling my hair out with this problem.
by tkarkkainen
Sun Nov 21, 2004 2:56 pm
Forum: Advanced Help
Topic: smgr->drawAll() causes illegal operation
Replies: 17
Views: 2240

Thanks for the reply.

I checked include and lib directories. Include directory is irrlicht-0.7\include\ and lib irrlicht-0.7\lib\DevCpp which should be correct. Also, the dll is correct.smgr pointer doesn't get redefined.

Anything else I could check?
by tkarkkainen
Sun Nov 21, 2004 8:56 am
Forum: Advanced Help
Topic: smgr->drawAll() causes illegal operation
Replies: 17
Views: 2240

smgr->drawAll() causes illegal operation

I have a class called CGame. In its header file I have this among other stuff under private

scene::ISceneManager *smgr;

And in the actual code I have stuff like


device = createDevice ( video::EDT_OPENGL, core::dimension2d<s32>( 800, 600 ), 16, false, false, true, this );
printf ( "Device ...