From 45c964c1e610913c6ba92d7b0e69e577e4080fce Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 7 Apr 2021 12:30:45 +0200 Subject: [PATCH] Update core_vr_simulator.c --- examples/core/core_vr_simulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/core/core_vr_simulator.c b/examples/core/core_vr_simulator.c index 62ed88426..b57e1f7fd 100644 --- a/examples/core/core_vr_simulator.c +++ b/examples/core/core_vr_simulator.c @@ -123,7 +123,7 @@ int main(void) EndTextureMode(); BeginShaderMode(distortion); - DrawTextureRec(target.texture, (Rectangle){ 0, 0, (float)target.texture.width, + DrawTextureRec(target.texture, (Rectangle){ 0, 0, (float)target.texture.width, (float)-target.texture.height }, (Vector2){ 0.0f, 0.0f }, WHITE); EndShaderMode();