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