From 4b05db2631e9e06b6f75e11f11359adfdf6df0f6 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 12 Aug 2009 10:12:16 +0000 Subject: [PATCH] * Generator.cs: Use correct function prefix in AutoGenerated attribute. --- Source/Bind/GL2/Generator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Bind/GL2/Generator.cs b/Source/Bind/GL2/Generator.cs index 599733dc..558e9658 100644 --- a/Source/Bind/GL2/Generator.cs +++ b/Source/Bind/GL2/Generator.cs @@ -1,4 +1,4 @@ -#region --- License --- +#region --- License --- /* Copyright (c) 2006, 2007 Stefanos Apostolopoulos * See license.txt for license info */ @@ -698,7 +698,7 @@ namespace Bind.GL2 sw.WriteLine("[System.CLSCompliant(false)]"); } sw.WriteLine("[AutoGenerated(Category = \"{0}\", Version = \"{1}\", EntryPoint = \"{2}\")]", - f.Category, f.Version, "gl" + f.WrappedDelegate.Name); + f.Category, f.Version, Settings.FunctionPrefix + f.WrappedDelegate.Name); sw.WriteLine("public static "); sw.Write(f); sw.WriteLine();