RootWindow is now accessed through GDK.Screen instead. It is deprecated in GTK3.
This commit is contained in:
parent
cb42feef20
commit
5dce9161bd
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ namespace OpenTK
|
|||
else if (Configuration.RunningOnMacOS)
|
||||
_WindowInfo = OSXWindowInfoInitializer.Initialize(widgetWindowHandle);
|
||||
else
|
||||
_WindowInfo = XWindowInfoInitializer.Initialize(graphicsMode, this.Display.Handle, this.Screen.Number, widgetWindowHandle, this.RootWindow.Handle);
|
||||
_WindowInfo = XWindowInfoInitializer.Initialize(graphicsMode, this.Display.Handle, this.Screen.Number, widgetWindowHandle, this.Screen.RootWindow.Handle);
|
||||
|
||||
// GraphicsContext
|
||||
_GraphicsContext = new GraphicsContext(graphicsMode, _WindowInfo, GlVersionMajor, GlVersionMinor, _GraphicsContextFlags);
|
||||
|
|
Loading…
Reference in a new issue