1
0
mirror of synced 2024-09-24 11:28:27 +02:00

Temporary fix for segfaults on linux and fix crash on the genre box texture since its case sensitive

This commit is contained in:
0auBSQ 2023-11-25 12:14:37 +09:00
parent bfdadb1fef
commit 51d553d9d8
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,9 @@ public class AngleContext : IGLContext
else if (window.Native.Kind.HasFlag(NativeWindowFlags.X11))
{
windowHandle = (nint)window.Native.X11.Value.Window;
display = Egl.GetDisplay(window.Native.X11.Value.Display);
// Temporary fix for the segfaults
// Note than X11 Display number is NOT always 0, it can be 1, 2 and so on for example in cases of user switching
display = 0;// Egl.GetDisplay(window.Native.X11.Value.Display);
}
else if (window.Native.Kind.HasFlag(NativeWindowFlags.Cocoa))
{

View File

@ -48,7 +48,7 @@ namespace TJAPlayer3
public static string EFFECTS = @$"10_Effects{Path.DirectorySeparatorChar}";
public static string BALLOON = @$"11_Balloon{Path.DirectorySeparatorChar}";
public static string LANE = @$"12_Lane{Path.DirectorySeparatorChar}";
public static string GENRE = @$"13_Genre{Path.DirectorySeparatorChar}";
public static string GENRE = @$"13_GENRE{Path.DirectorySeparatorChar}";
public static string GAMEMODE = @$"14_GameMode{Path.DirectorySeparatorChar}";
public static string FAILED = @$"15_Failed{Path.DirectorySeparatorChar}";
public static string RUNNER = @$"16_Runner{Path.DirectorySeparatorChar}";