Watch
2
0
Fork
You've already forked raylib-cs
0

chore: clean recommit

This commit is contained in:
tiger tiger tiger 2026-07-07 23:47:38 +02:00
commit 60ad2e7fb1
122 changed files with 23950 additions and 323 deletions

View file

@ -5,9 +5,6 @@ namespace Examples;
internal static class Program
{
private const int screenWidth = 800;
private const int screenHeight = 450;
private static unsafe void Main(string[] args)
{
Raylib.SetTraceLogCallback(&Logging.LogConsole);
@ -50,7 +47,7 @@ internal static class Program
SetConfigFlags(example.ConfigFlags);
}
InitWindow(screenWidth, screenHeight, example.Title);
InitWindow(example.Width, example.Height, example.Title);
if (example.CursorDisabled)
{
@ -63,16 +60,26 @@ internal static class Program
SetTargetFPS(example.TargetFps);
example.Init();
while (!WindowShouldClose())
try
{
example.Update();
example.Init();
while (!example.ShouldClose)
{
example.Update();
}
}
finally
{
try
{
example.Unload();
}
finally
{
CloseWindow();
}
}
example.Unload();
CloseWindow();
}
private static void RunExampleProcess(