getVideoModeDepth crash

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
eudemon
Posts: 14
Joined: Mon Jul 04, 2005 2:48 am

getVideoModeDepth crash

Post by eudemon »

Using linux and version 1.1 of irrlicht, I'm getting a crash when I try to call getVideoModeDepth on an IVideoModeList object. This only happens when the engine is run in windowed mode, never if I run it in fullscreen mode. This does not happen when using version 1.0.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

This method does not return any useful value for Linux, it's always 0. But since the method does range checking and should initialize the array to an empty one you should always get the "right" value 0. A list of modes is only returned for fullscreen (but only the dimensions are useable).
Post Reply