daily update on 20240315 by nitload youmu

This commit is contained in:
YoumuLiu
2024-03-16 03:09:00 +08:00
parent a770bbe685
commit 15bf989285
84 changed files with 1064 additions and 1981 deletions
+4 -6
View File
@@ -55,7 +55,6 @@ namespace StgSharp
{
InternalIO.InternalWriteLog("\n\n\n", "Program start", LogType.Info);
Platform.InitGL(4, 6);
SetRenderThreads(2);
SetMetadata(800, 600, "Hello, STG#!", IntPtr.Zero, null);
@@ -186,9 +185,12 @@ namespace StgSharp
{
try
{
//Platform.TryCreatWindow();
//StgSharp.TryCreatWindow();
/**/
StgSharp.InitGL(4, 6);
StgSharp.GlobalSetting.VSyncActivated = false;
StgSharpDemoForm demoForm = new StgSharpDemoForm();
demoForm.Init();
demoForm.Show();
@@ -232,9 +234,5 @@ namespace StgSharp
LogType.Error);
}
}
[DllImport(InternalIO.SSC_libname, EntryPoint = "printShaderCode",
CallingConvention = CallingConvention.Cdecl)]
internal static extern unsafe void PrintShader(byte** shadercode);
}
}