An appliation made with Unity3D pro 2.6 running under windows has a - i guess - rendering problem when maximized after having been minimized under windows xp.
The hardware configuration is as follow
Lenovo X41 Tablet: Pentium M 778(1.6GHz)LV, 1.5GB RAM, 60GB 4200rpm HD, 12.1in 1024x768 LCD, Intel 900, Intel 802.11abg wireless, Bluetooth/Modem, 1Gb Ethernet, Secure chip, Fingerprint reader, WinXP Tablet 2005 with SP3
The scene consists basically of 3D planes rendered through anorthographic projection camera faking therefore a 2D scene.
the minimize function is as follows:
[DllImport("user32.dll")]
static extern bool ShowWindowAsync(int hWnd, int nCmdShow);
[DllImport("user32.dll")]
static extern int GetForegroundWindow();
//....
//....
public static void minimizeWindow() {
int hWnd = GetForegroundWindow();
ShowWindowAsync(hWnd, SW_MINIMIZE);
}
On maximizing, the scene is not rendered correctly: only the OnGUI objects (rectangle, button and so forth) are rendered correctly the other 3D objects are not rendered (black pixels instead).
Any suggestion is welcome.
Many thanks