diff options
| author | raysan5 <raysan5@gmail.com> | 2016-04-07 13:31:53 +0200 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-04-07 13:31:53 +0200 |
| commit | aa22d979834eeddb849f45bba7c0f467b575e6db (patch) | |
| tree | 50d1c417b2a2294e05e4d4ae638f7f4f4d923968 /examples/shaders_postprocessing.c | |
| parent | 4b51248372302bd9f1baf2452b389f57f0173d59 (diff) | |
| download | raylib-aa22d979834eeddb849f45bba7c0f467b575e6db.tar.gz raylib-aa22d979834eeddb849f45bba7c0f467b575e6db.zip | |
Simplified texture flip and added comments
Diffstat (limited to 'examples/shaders_postprocessing.c')
| -rw-r--r-- | examples/shaders_postprocessing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders_postprocessing.c b/examples/shaders_postprocessing.c index 632a6371..e9fafe15 100644 --- a/examples/shaders_postprocessing.c +++ b/examples/shaders_postprocessing.c @@ -82,7 +82,7 @@ int main() SetCustomShader(shader); // NOTE: Render texture must be y-flipped due to default OpenGL coordinates (left-bottom) - DrawTextureRec(target.texture, (Rectangle){ 0, target.texture.height, target.texture.width, -target.texture.height }, (Vector2){ 0, 0 }, WHITE); + DrawTextureRec(target.texture, (Rectangle){ 0, 0, target.texture.width, -target.texture.height }, (Vector2){ 0, 0 }, WHITE); SetDefaultShader(); DrawText("(c) Dwarf 3D model by David Moreno", screenWidth - 200, screenHeight - 20, 10, DARKGRAY); |
