From 33495b5d631bf857e1398d8f9babf18decf8323f Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Fri, 4 Jan 2008 20:55:33 +0000 Subject: [PATCH] Updated according to the new enums. --- Source/Examples/Tests/S01_Call_Performance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Examples/Tests/S01_Call_Performance.cs b/Source/Examples/Tests/S01_Call_Performance.cs index 0de341a2..893ca0ec 100644 --- a/Source/Examples/Tests/S01_Call_Performance.cs +++ b/Source/Examples/Tests/S01_Call_Performance.cs @@ -101,7 +101,7 @@ namespace Examples.Tests Trace.Write("Timing OpenTK.OpenGL extension functions: "); timer.Start(); for (int i = 0; ++i < num_calls; ) - GL.Arb.ActiveTexture(ArbMultitexture.Texture0Arb); + GL.ActiveTexture(TextureUnit.Texture0); timer.Stop(); Trace.WriteLine(String.Format("{0} ns", timer.Elapsed.TotalMilliseconds * (1000000.0 / (double)num_calls)));