Changed default GLES* namespaces to ES*.

Changed -mode options for ES (-mode:es* instead of -mode:gles*).
Bumped version number.
This commit is contained in:
the_fiddler 2009-07-15 15:03:22 +00:00
parent 0ead2d300e
commit 854eafe1d3
2 changed files with 17 additions and 17 deletions

View file

@ -21,9 +21,9 @@ namespace Bind
Unknown, Unknown,
GL2, GL2,
GL3, GL3,
GLES10, ES10,
GLES11, ES11,
GLES20, ES20,
Wgl, Wgl,
Glx, Glx,
Glu, Glu,
@ -75,12 +75,12 @@ namespace Bind
string arg = b[1].ToLower(); string arg = b[1].ToLower();
if (arg == "gl" || arg == "gl2") if (arg == "gl" || arg == "gl2")
mode = GeneratorMode.GL2; mode = GeneratorMode.GL2;
else if (arg == "gles10") else if (arg == "es10")
mode = GeneratorMode.GLES10; mode = GeneratorMode.ES10;
else if (arg == "gles11") else if (arg == "es11")
mode = GeneratorMode.GLES11; mode = GeneratorMode.ES11;
else if (arg == "gles20") else if (arg == "es20")
mode = GeneratorMode.GLES20; mode = GeneratorMode.ES20;
else else
throw new NotImplementedException(); throw new NotImplementedException();
break; break;
@ -133,16 +133,16 @@ namespace Bind
Generator = new Bind.GL2.Generator(); Generator = new Bind.GL2.Generator();
break; break;
case GeneratorMode.GLES10: case GeneratorMode.ES10:
Generator = new Bind.GLES.GlesGenerator("GLES10"); Generator = new Bind.ES.ESGenerator("ES10");
break; break;
case GeneratorMode.GLES11: case GeneratorMode.ES11:
Generator = new Bind.GLES.GlesGenerator("GLES11"); Generator = new Bind.ES.ESGenerator("ES11");
break; break;
case GeneratorMode.GLES20: case GeneratorMode.ES20:
Generator = new Bind.GLES.GlesGenerator("GLES20"); Generator = new Bind.ES.ESGenerator("ES20");
break; break;
case GeneratorMode.Wgl: case GeneratorMode.Wgl:

View file

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number // Build Number
// Revision // Revision
// //
[assembly: AssemblyVersion("0.9.9.10")] [assembly: AssemblyVersion("0.9.9.11")]
[assembly: AssemblyFileVersion("0.9.9.10")] [assembly: AssemblyFileVersion("0.9.9.11")]