Use IWindowInfo.Handle to retrieve window handle #2179

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@thefiddler

(PR re-issued after rebase fail at #2166)

OpenTK 1.1 offers a public GameWindow.WindowInfo.Handle property. This patch removes reflection from the startup path in favor of accessing the Handle property directly.

This patch depends on https://github.com/kungfubanana/MonoGame-Dependencies/pull/43

@thefiddler thefiddler Use IWindowInfo.Handle to retrieve window handle
OpenTK 1.1 offers a public GameWindow.WindowInfo.Handle property. This patch removes reflection from the startup path in favor of accessing the Handle property directly.

This patch depends on https://github.com/kungfubanana/MonoGame-Dependencies/pull/43
ca46c75
@mgbot
Member
mgbot commented Jan 4, 2014

Can one of the admins verify this patch?

@mgbot
Member
mgbot commented Jan 4, 2014

Can one of the admins verify this patch?

@tomspilman
Member

@thefiddler - Can you just fold this into #2398 and close this PR?

@thefiddler thefiddler added a commit to thefiddler/MonoGame that referenced this pull request Apr 23, 2014
@thefiddler thefiddler Set GameWindow.Handle
This patch removes an instance of reflection from the startup path.
Closes #2179
9105d4c
@thefiddler

Done

@thefiddler thefiddler closed this Apr 23, 2014
@tomspilman
Member

Thanks!

@thefiddler thefiddler added a commit to thefiddler/MonoGame that referenced this pull request Apr 24, 2014
@thefiddler thefiddler Set GameWindow.Handle
This patch removes an instance of reflection from the startup path.
Closes #2179
10ed42f
@thefiddler thefiddler added a commit to thefiddler/MonoGame that referenced this pull request Apr 27, 2014
@thefiddler thefiddler Set GameWindow.Handle
This patch removes an instance of reflection from the startup path.
Closes #2179
96d2403
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment