Hardware/ATI/ADL.cs
changeset 361 0a386ef7d5bb
parent 344 3145aadca3d2
     1.1 --- a/Hardware/ATI/ADL.cs	Wed Jul 11 17:35:30 2012 +0000
     1.2 +++ b/Hardware/ATI/ADL.cs	Wed Jul 11 22:28:39 2012 +0000
     1.3 @@ -162,7 +162,7 @@
     1.4        where T : class 
     1.5      {
     1.6        DllImportAttribute attribute = new DllImportAttribute(dllName);
     1.7 -      attribute.CallingConvention = CallingConvention.StdCall;
     1.8 +      attribute.CallingConvention = CallingConvention.Cdecl;
     1.9        attribute.PreserveSig = true;
    1.10        attribute.EntryPoint = entryPoint;
    1.11        PInvokeDelegateFactory.CreateDelegate(attribute, out newDelegate);