Fix some warnings in examples.
This commit is contained in:
parent
8e1e1ef970
commit
d0b693c931
1 changed files with 105 additions and 104 deletions
|
|
@ -146,7 +146,7 @@ int main(void)
|
|||
BeginShaderMode(shaders[currentShader]);
|
||||
|
||||
// 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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue