Skip to content

Commit

Permalink
[Bind] Remove setting of DefaultOutputNamespace
Browse files Browse the repository at this point in the history
Settings wasn't required to be set. The generator constructors set the
default namespace.
  • Loading branch information
Frassle committed Jun 7, 2015
1 parent 72cc73f commit 05c2e5f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Source/Bind/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,46 +239,38 @@ private static void SetGeneratorMode(string arg)
case "gl":
case "gl2":
mode = GeneratorMode.GL2;
Settings.DefaultOutputNamespace = "OpenTK.Graphics.OpenGL";
break;

case "gl3":
case "gl4":
mode = GeneratorMode.GL4;
Settings.DefaultOutputNamespace = "OpenTK.Graphics.OpenGL4";
break;

case "es10":
mode = GeneratorMode.ES10;
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES10";
break;

case "es11":
mode = GeneratorMode.ES11;
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES11";
break;

case "es2":
case "es20":
mode = GeneratorMode.ES20;
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES20";
break;

case "es3":
case "es30":
mode = GeneratorMode.ES30;
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES30";
break;

case "es31":
mode = GeneratorMode.ES31;
Settings.DefaultOutputNamespace = "OpenTK.Graphics.ES31";
break;

case "cl":
case "cl10":
mode = GeneratorMode.CL10;
Settings.DefaultOutputNamespace = "OpenTK.Compute.OpenCL";
break;

default:
Expand Down

0 comments on commit 05c2e5f

Please sign in to comment.