remove unnecessary Wait calls from examples

spritebatch
cosmonaut 2023-06-12 09:59:18 -07:00
parent 484bd7070c
commit 0a0c269dc9
10 changed files with 0 additions and 11 deletions

View File

@ -77,7 +77,6 @@ namespace MoonWorks.Test
}
);
GraphicsDevice.Submit(cmdbuf);
GraphicsDevice.Wait();
}
protected override void Update(System.TimeSpan delta) { }

View File

@ -77,7 +77,6 @@ namespace MoonWorks.Test
textures[i] = Texture.LoadDDS(GraphicsDevice, cmdbuf, fs);
}
GraphicsDevice.Submit(cmdbuf);
GraphicsDevice.Wait();
}
protected override void Update(System.TimeSpan delta)

View File

@ -100,7 +100,6 @@ namespace MoonWorks.Test
cmdbuf.DispatchCompute(gradientUniforms.groupCountX, gradientUniforms.groupCountY, 1, offset);
GraphicsDevice.Submit(cmdbuf);
GraphicsDevice.Wait();
}
protected override void Update(System.TimeSpan delta) { }

View File

@ -75,7 +75,6 @@ namespace MoonWorks.Test
}
);
GraphicsDevice.Submit(cmdbuf);
GraphicsDevice.Wait();
}
protected override void Update(System.TimeSpan delta)

View File

@ -195,7 +195,6 @@ namespace MoonWorks.Test
);
GraphicsDevice.Submit(cmdbuf);
GraphicsDevice.Wait();
}
protected override void Update(System.TimeSpan delta)

View File

@ -53,7 +53,6 @@ namespace MoonWorks.Test
}
);
GraphicsDevice.Submit(cmdbuf);
GraphicsDevice.Wait();
}
protected override void Update(System.TimeSpan delta) { }

View File

@ -61,7 +61,6 @@ namespace MoonWorks.Test
}
);
GraphicsDevice.Submit(cmdbuf);
GraphicsDevice.Wait();
}
protected override void Update(System.TimeSpan delta)
@ -105,4 +104,3 @@ namespace MoonWorks.Test
}
}
}

View File

@ -90,7 +90,6 @@ namespace MoonWorks.Test
}
);
GraphicsDevice.Submit(cmdbuf);
GraphicsDevice.Wait();
}
protected override void Update(System.TimeSpan delta)

View File

@ -38,7 +38,6 @@ namespace MoonWorks.Test
}
);
GraphicsDevice.Submit(cmdbuf);
GraphicsDevice.Wait();
}
protected override void Update(System.TimeSpan delta) { }

View File

@ -57,7 +57,6 @@ namespace MoonWorks.Test
}
);
GraphicsDevice.Submit(cmdbuf);
GraphicsDevice.Wait();
// Load the video
video = new Video.VideoAV1(TestUtils.GetVideoPath("hello.obu"), 25);