Fixed TexEnvMode.Replace.

Added a "press any key to continue..." message when an error happens.
This commit is contained in:
the_fiddler 2008-04-11 18:19:34 +00:00
parent d02195e7a1
commit 578e30c26a
2 changed files with 6 additions and 2 deletions

View file

@ -158,8 +158,6 @@ namespace Bind
Console.WriteLine();
Console.WriteLine("Bindings generated in {0} seconds.", ticks / (double)10000000.0);
Console.WriteLine();
//Console.WriteLine("Press any key to continue...");
Console.ReadKey(true);
}
catch (SecurityException e)
{
@ -171,6 +169,11 @@ namespace Bind
Console.WriteLine(e.Message);
Console.WriteLine("The requested functionality is not implemented yet.");
}
finally
{
Console.WriteLine("Press any key to continue...");
Console.ReadKey(true);
}
}
private static void ShowHelp()

View file

@ -1750,6 +1750,7 @@ TextureCoordName enum:
TextureEnvMode enum:
MODULATE = 0x2100
DECAL = 0x2101
REPLACE = 0x1e01
use GetPName BLEND
use EXT_texture REPLACE_EXT
use AccumOp ADD