diff options
author | Sven Gothel <[email protected]> | 2010-11-12 03:29:06 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-12 03:29:06 +0100 |
commit | c2e805f5cf9c209cfbd1a3082a347d9f3d58c9d5 (patch) | |
tree | 7703bcc98e321ae793d6f2d95aa2970358cd58fa /src/newt | |
parent | 0893339854e3f4a4fab7b19e073304973e763b10 (diff) |
AbstractGraphicsDevice ..: Add device/display connection attribute to support multi devices & displays.
Currently only the X11 Display connection is implemented to support multiple device connections.
Other platforms may follow.
This allows correct mapping and caching of higher level resources,
eg. ProcAddressTable, GL version mapping etc with respect to the display device.
Diffstat (limited to 'src/newt')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/impl/intel/gdl/Display.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/impl/intel/gdl/Display.java b/src/newt/classes/com/jogamp/newt/impl/intel/gdl/Display.java index 0bd4c3b5d..5d40d3709 100644 --- a/src/newt/classes/com/jogamp/newt/impl/intel/gdl/Display.java +++ b/src/newt/classes/com/jogamp/newt/impl/intel/gdl/Display.java @@ -68,7 +68,7 @@ public class Display extends com.jogamp.newt.impl.DisplayImpl { } initCounter++; } - aDevice = new DefaultGraphicsDevice(NativeWindowFactory.TYPE_DEFAULT, displayHandle); + aDevice = new DefaultGraphicsDevice(NativeWindowFactory.TYPE_DEFAULT, AbstractGraphicsDevice.DEFAULT_CONNECTION, displayHandle); } protected void closeNativeImpl() { |