mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
GameTime tick now first thing in frame
This commit is contained in:
@@ -48,10 +48,10 @@ namespace GlitchyEngine
|
||||
{
|
||||
while(_running)
|
||||
{
|
||||
DirectX.ImmediateContext.ClearRenderTargetView(DirectX.BackBufferTarget, .(1, 0, 1));
|
||||
|
||||
_gameTime.Tick();
|
||||
|
||||
DirectX.ImmediateContext.ClearRenderTargetView(DirectX.BackBufferTarget, .(1, 0, 1));
|
||||
|
||||
for(Layer layer in _layerStack)
|
||||
layer.Update(_gameTime);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user