Pieter-Jan Briers
7 years ago
No known key found for this signature in database
GPG Key ID: 132054DF433AE592
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.X11/Glx/Glx.cs
|
|
|
@ -94,7 +94,7 @@ namespace Avalonia.X11.Glx |
|
|
|
// which can then cause segmentation faults because they return garbage.
|
|
|
|
public static IntPtr SafeGetProcAddress(string proc, bool optional) |
|
|
|
{ |
|
|
|
if (proc.StartsWith("egl")) |
|
|
|
if (proc.StartsWith("egl", StringComparison.InvariantCulture)) |
|
|
|
{ |
|
|
|
return IntPtr.Zero; |
|
|
|
} |
|
|
|
|