mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-21 09:11:53 +00:00
Updated image to POT
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 648 KiB After Width: | Height: | Size: 379 KiB |
@@ -25,7 +25,7 @@ int main()
|
||||
// NOTE: Textures MUST be loaded after Window initialization (OpenGL context is required)
|
||||
|
||||
Image cat = LoadImage("resources/cat.png"); // Load image in CPU memory (RAM)
|
||||
ImageCrop(&cat, (Rectangle){ 170, 120, 280, 380 }); // Crop an image piece
|
||||
ImageCrop(&cat, (Rectangle){ 100, 10, 280, 380 }); // Crop an image piece
|
||||
ImageFlipHorizontal(&cat); // Flip cropped image horizontally
|
||||
ImageResize(&cat, 150, 200); // Resize flipped-cropped image
|
||||
|
||||
|
Reference in New Issue
Block a user