diff options
| author | Jeffery Myers <[email protected]> | 2021-04-25 09:50:26 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-25 18:50:26 +0200 |
| commit | 6c518008a58853197890b45e941f342e4195de60 (patch) | |
| tree | 429e12c1ee0c6206c69c7a93c7726aa3ab3d533b /examples/shaders/shaders_custom_uniform.c | |
| parent | 87198586554e218834542098ec40e6611452c3aa (diff) | |
| download | raylib-6c518008a58853197890b45e941f342e4195de60.tar.gz raylib-6c518008a58853197890b45e941f342e4195de60.zip | |
Fixes for 64 bit typecast warnings (#1733)
Diffstat (limited to 'examples/shaders/shaders_custom_uniform.c')
| -rw-r--r-- | examples/shaders/shaders_custom_uniform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_custom_uniform.c b/examples/shaders/shaders_custom_uniform.c index ecc314e4..6efda727 100644 --- a/examples/shaders/shaders_custom_uniform.c +++ b/examples/shaders/shaders_custom_uniform.c @@ -109,7 +109,7 @@ int main(void) BeginShaderMode(shader); // NOTE: Render texture must be y-flipped due to default OpenGL coordinates (left-bottom) - DrawTextureRec(target.texture, (Rectangle){ 0, 0, target.texture.width, -target.texture.height }, (Vector2){ 0, 0 }, WHITE); + DrawTextureRec(target.texture, (Rectangle){ 0, 0, (float)target.texture.width, (float)-target.texture.height }, (Vector2){ 0, 0 }, WHITE); EndShaderMode(); |
