diff options
Diffstat (limited to 'examples/web/textures')
| -rw-r--r-- | examples/web/textures/textures_draw_tiled.c | 2 | ||||
| -rw-r--r-- | examples/web/textures/textures_image_processing.c | 4 | ||||
| -rw-r--r-- | examples/web/textures/textures_particles_blending.c | 2 | ||||
| -rw-r--r-- | examples/web/textures/textures_raw_data.c | 2 | ||||
| -rw-r--r-- | examples/web/textures/textures_sprite_explosion.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/examples/web/textures/textures_draw_tiled.c b/examples/web/textures/textures_draw_tiled.c index 893d9b8..7d8a3c4 100644 --- a/examples/web/textures/textures_draw_tiled.c +++ b/examples/web/textures/textures_draw_tiled.c @@ -160,6 +160,6 @@ int main(int argc, char **argv) CloseWindow(); // Close window and OpenGL context //-------------------------------------------------------------------------------------- - return 0; + return 0; } diff --git a/examples/web/textures/textures_image_processing.c b/examples/web/textures/textures_image_processing.c index 2c8c925..00282d0 100644 --- a/examples/web/textures/textures_image_processing.c +++ b/examples/web/textures/textures_image_processing.c @@ -132,8 +132,8 @@ void UpdateDrawFrame(void) } // Keyboard toggle group logic - - if (IsKeyPressed(KEY_DOWN)) + + if (IsKeyPressed(KEY_DOWN)) { currentProcess++; if (currentProcess > (NUM_PROCESSES - 1)) currentProcess = 0; diff --git a/examples/web/textures/textures_particles_blending.c b/examples/web/textures/textures_particles_blending.c index 22b56c8..16daa4e 100644 --- a/examples/web/textures/textures_particles_blending.c +++ b/examples/web/textures/textures_particles_blending.c @@ -119,7 +119,7 @@ void UpdateDrawFrame(void) if (mouseTail[i].active) { mouseTail[i].position.y += gravity/2; - mouseTail[i].alpha -= 0.005f; + mouseTail[i].alpha -= 0.005f; if (mouseTail[i].alpha <= 0.0f) mouseTail[i].active = false; diff --git a/examples/web/textures/textures_raw_data.c b/examples/web/textures/textures_raw_data.c index dded6c3..31f9fd0 100644 --- a/examples/web/textures/textures_raw_data.c +++ b/examples/web/textures/textures_raw_data.c @@ -71,7 +71,7 @@ int main(void) .format = PIXELFORMAT_UNCOMPRESSED_R8G8B8A8, .mipmaps = 1 }; - + checked = LoadTextureFromImage(checkedIm); UnloadImage(checkedIm); // Unload CPU (RAM) image data diff --git a/examples/web/textures/textures_sprite_explosion.c b/examples/web/textures/textures_sprite_explosion.c index 905fc3a..97131d9 100644 --- a/examples/web/textures/textures_sprite_explosion.c +++ b/examples/web/textures/textures_sprite_explosion.c @@ -68,7 +68,7 @@ int main(void) // Init variables for animation frameWidth = explosion.width/NUM_FRAMES_PER_LINE; // Sprite one frame rectangle width - frameHeight = explosion.height/NUM_LINES; // Sprite one frame rectangle height + frameHeight = explosion.height/NUM_LINES; // Sprite one frame rectangle height frameRec = (Rectangle){ 0, 0, frameWidth, frameHeight }; |
