diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-09 13:50:40 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-09 13:50:40 +0200 |
| commit | 0c200d4ae4f0f4a7a7c58c3affc7670eb6b2dcff (patch) | |
| tree | a0650162842e5e9089d146ab20d555865b6a3011 /src/OpenTKGameWindow.cs | |
| parent | ea0ee8408e82a19c00637aaa054165bbb49805ba (diff) | |
simplify Loading, removed unnecessary overloads
Diffstat (limited to 'src/OpenTKGameWindow.cs')
| -rwxr-xr-x | src/OpenTKGameWindow.cs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/OpenTKGameWindow.cs b/src/OpenTKGameWindow.cs index fa68cb89..355ae304 100755 --- a/src/OpenTKGameWindow.cs +++ b/src/OpenTKGameWindow.cs @@ -313,18 +313,6 @@ namespace go #endregion
#region loading
- public void LoadInterface<T>(string path, out T result)
- {
- Interface.Load<T> (path, out result, this);
- AddWidget (result as GraphicObject);
- }
- public T LoadInterface<T> (string Path)
- {
- T result;
- Interface.Load<T> (Path, out result, this);
- AddWidget (result as GraphicObject);
- return result;
- }
public GraphicObject LoadInterface (string path)
{
GraphicObject tmp = Interface.Load (path, this);
@@ -340,6 +328,7 @@ namespace go {
GL.Clear (ClearBufferMask.ColorBufferBit);
}
+
#region Game win overrides
protected override void OnUpdateFrame(FrameEventArgs e)
{
|