daily update on 20240613 by nitload youmu[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[D[C[4
This commit is contained in:
@@ -27,8 +27,18 @@ namespace StgSharp.Logic
|
||||
/// </summary>
|
||||
public unsafe void Show()
|
||||
{
|
||||
while(0 == InternalIO.glfwWindowShouldClose(this.context.ViewPortID))
|
||||
BuildGlobalKeyControl();
|
||||
while(0 == InternalIO.glfwWindowShouldClose(this.viewPortDisplay.ViewPortID))
|
||||
{
|
||||
viewPortDisplay.FlushSize();
|
||||
foreach (var item in this._globalKeyAction)
|
||||
{
|
||||
if (InternalIO.glfwGetKey(this.viewPortDisplay.ViewPortID, (int)item.Key.TargetKeyOrButtonID)
|
||||
== item.Key.TriggeredStatus)
|
||||
{
|
||||
item.Value();
|
||||
}
|
||||
}
|
||||
renderLogic.RunRepeatedly(() => ShouldClose);
|
||||
frameTimeProvider.WaitNextSpan();
|
||||
Interlocked.Add(ref _frameCount, 1);
|
||||
|
||||
Reference in New Issue
Block a user