diff options
| author | Ray <[email protected]> | 2021-04-07 12:30:45 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-04-07 12:30:45 +0200 |
| commit | 45c964c1e610913c6ba92d7b0e69e577e4080fce (patch) | |
| tree | 123566008d48f6b78c0b705a70cd0a1ce2726df2 | |
| parent | bafa13f207baa2ad8f75c71f57930aa02f67740c (diff) | |
| download | raylib-45c964c1e610913c6ba92d7b0e69e577e4080fce.tar.gz raylib-45c964c1e610913c6ba92d7b0e69e577e4080fce.zip | |
Update core_vr_simulator.c
| -rw-r--r-- | examples/core/core_vr_simulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/core/core_vr_simulator.c b/examples/core/core_vr_simulator.c index 62ed8842..b57e1f7f 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(); |
