Bug in getVideoDriver () -> getScreenSize ();

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
agamemnus
Posts: 283
Joined: Sun Jan 31, 2010 6:06 pm

Bug in getVideoDriver () -> getScreenSize ();

Post by agamemnus »

(both getVideoDriver()->getScreenSize() and getVideoDriver()->getCurrentRenderTargetSize() are affected)

The scenario is as follows.
I am using Windows XP and a CRT. (This may or may not be relevant)

I am alt+tabbing between full screen and Windows (not windowed mode, Windows). The Windows screen size must be different than the full screen size of the program for the bug to activate.

When I alt+tab from my program's full-screen *to* Windows TWICE, on the second time, getVideoDriver()->getScreenSize() will show (160, 24) as the screen size. Switching my program to windowed mode and back to full-screen again starts up the bug, where after the second alt+tab, getScreenSize() shows (160, 24).
christianclavet
Posts: 1638
Joined: Mon Apr 30, 2007 3:24 am
Location: Montreal, CANADA
Contact:

Post by christianclavet »

Hi, I get something similar when I open the Irrlicht device inside a wxWidget window, perhaps both are related in some ways.
Post Reply