daily update on 20240326 by nitload youmu, removing old MT

This commit is contained in:
YoumuLiu
2024-03-27 02:27:00 +08:00
parent f0d91b6d51
commit ea2a4a7dcb
59 changed files with 623 additions and 295 deletions
+7 -5
View File
@@ -139,19 +139,20 @@ namespace StgSharp
ProcessInput(WindowID);
gl.ClearColor(0.333f, 0.555f, 0.555f, 1.0f);
//GL.api.Clear(GLconst.COLOR_BUFFER_BIT);
gl.Clear(MaskBufferBit.COLOR);
gl.Clear(MaskBufferBit.COLOR | MaskBufferBit.DEPTH );
/**/
vao.Bind(0);
shader.Use();
/**/
/**/
texture.Activate(TextureUnit.Unit0);
texture.Bind2D(0);
texture.Activate(TextureUnit.Unit1);
texture.Bind2D(1);
/**/
/**/
float time = CurrentFrameCount / 60.0f;
gl.SetValue(color,
@@ -165,7 +166,8 @@ namespace StgSharp
gl.DrawElements(GepmetryType.TRIANGLES, 6, TypeCode.UInt32, IntPtr.Zero);
vao.BindNull();
/**/
Console.WriteLine(1);
}
}