Attempt to fix fullscreen display on Windows by disabling D3D pipeline (used internally by the JVM for fullscreen). Please note that it is absolutely not related to our D3D JAWTRenderer (the fullscreen bug also appears with JMF's AWTRenderer).

cusax-fix
Sebastien Vincent 15 years ago
parent 36cbb1f6e8
commit 18e63525b1

@ -47,7 +47,6 @@ public class SIPCommunicator
private static String[] legacyDirNames =
{".sip-communicator", "SIP Communicator"};
/**
* Starts the SIP Communicator.
*
@ -62,6 +61,11 @@ public static void main(String[] args)
String vmVendor = System.getProperty("java.vendor");
String osName = System.getProperty("os.name");
// disable Direct 3D pipeline (used for fullscreen) before
// displaying anything (frame, ...)
if(osName.startsWith("Windows"))
System.setProperty("sun.java2d.d3d", "false");
/*
* SC_HOME_DIR_* are specific to the OS so make sure they're configured
* accordingly before any other application-specific logic depending on

Loading…
Cancel
Save