daily update on 20240315 by nitload youmu
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user