[EGL] Fixed display connection
authorthefiddler <stapostol@gmail.com>
Mon, 19 May 2014 06:31:38 +0000 (08:31 +0200)
committerthefiddler <stapostol@gmail.com>
Mon, 19 May 2014 06:31:38 +0000 (08:31 +0200)
commitd483b01de0c461517817dc89478da5928c04475c
tree2dd11f021e33126f0a9b9b0a2a0771b31151e3e0
parent97b211a101ca4ea4da090a54b2e68152012dfb66
[EGL] Fixed display connection

We now use the display connection specified in EglWindowInfo
throughout the EGL backend, instead of opening new connections
in EglGraphicsMode. This fixes EGL errors in
Egl.CreateWindowSurface.

As part of this fix, all instances of
IPlatformFactory.CreateGraphicsMode() have been removed. This
API is no longer used in OpenTK 1.1
Source/OpenTK/Platform/Egl/Egl.cs
Source/OpenTK/Platform/Egl/EglContext.cs
Source/OpenTK/Platform/Egl/EglGraphicsMode.cs
Source/OpenTK/Platform/Egl/EglWinPlatformFactory.cs
Source/OpenTK/Platform/Egl/EglWindowInfo.cs
Source/OpenTK/Platform/Factory.cs
Source/OpenTK/Platform/IPlatformFactory.cs
Source/OpenTK/Platform/PlatformFactoryBase.cs
Source/OpenTK/Platform/X11/X11Factory.cs
Source/OpenTK/Platform/X11/X11KeyMap.cs.orig [new file with mode: 0644]