From c2e805f5cf9c209cfbd1a3082a347d9f3d58c9d5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 12 Nov 2010 03:29:06 +0100 Subject: 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. --- src/newt/classes/com/jogamp/newt/impl/intel/gdl/Display.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newt') 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() { -- cgit v1.2.3