From 394c5e178f83c47f4d931fda3e3efaf2fb7bcfff Mon Sep 17 00:00:00 2001 From: Spencer Vaughn Date: Wed, 22 Feb 2023 06:56:27 -0600 Subject: [PATCH] switch-examples: Updated all example resolutions to docked 720p --- examples-switch/Makefile | 2 +- examples-switch/audio/audio_module_playing.c | 7 +++++-- examples-switch/audio/audio_multichannel_sound.c | 4 ++-- examples-switch/audio/audio_music_stream.c | 4 ++-- examples-switch/audio/audio_raw_stream.c | 4 ++-- examples-switch/audio/audio_sound_loading.c | 4 ++-- examples-switch/audio/audio_stream_effects.c | 4 ++-- examples-switch/core/core_2d_camera.c | 4 ++-- examples-switch/core/core_2d_camera_mouse_zoom.c | 4 ++-- examples-switch/core/core_2d_camera_platformer.c | 4 ++-- examples-switch/core/core_3d_camera_first_person.c | 4 ++-- examples-switch/core/core_3d_camera_free.c | 4 ++-- examples-switch/core/core_3d_camera_mode.c | 4 ++-- examples-switch/core/core_3d_picking.c | 4 ++-- examples-switch/core/core_basic_screen_manager.c | 4 ++-- examples-switch/core/core_basic_window.c | 4 ++-- examples-switch/core/core_basic_window_web.c | 4 ++-- examples-switch/core/core_custom_frame_control.c | 4 ++-- examples-switch/core/core_custom_logging.c | 4 ++-- examples-switch/core/core_drop_files.c | 4 ++-- examples-switch/core/core_input_gamepad.c | 4 ++-- examples-switch/core/core_input_gestures.c | 4 ++-- examples-switch/core/core_input_keys.c | 4 ++-- examples-switch/core/core_input_mouse.c | 4 ++-- examples-switch/core/core_input_mouse_wheel.c | 4 ++-- examples-switch/core/core_input_multitouch.c | 4 ++-- examples-switch/core/core_loading_thread.c | 4 ++-- examples-switch/core/core_random_values.c | 4 ++-- examples-switch/core/core_scissor_test.c | 4 ++-- examples-switch/core/core_smooth_pixelperfect.c | 4 ++-- examples-switch/core/core_split_screen.c | 4 ++-- examples-switch/core/core_storage_values.c | 4 ++-- examples-switch/core/core_vr_simulator.c | 4 ++-- examples-switch/core/core_window_flags.c | 4 ++-- examples-switch/core/core_window_should_close.c | 4 ++-- examples-switch/core/core_world_screen.c | 4 ++-- examples-switch/models/models_animation.c | 4 ++-- examples-switch/models/models_billboard.c | 4 ++-- examples-switch/models/models_box_collisions.c | 4 ++-- examples-switch/models/models_cubicmap.c | 4 ++-- examples-switch/models/models_draw_cube_texture.c | 4 ++-- examples-switch/models/models_first_person_maze.c | 4 ++-- examples-switch/models/models_geometric_shapes.c | 4 ++-- examples-switch/models/models_heightmap.c | 4 ++-- examples-switch/models/models_loading.c | 4 ++-- examples-switch/models/models_loading_gltf.c | 4 ++-- examples-switch/models/models_loading_m3d.c | 4 ++-- examples-switch/models/models_loading_vox.c | 4 ++-- examples-switch/models/models_mesh_generation.c | 4 ++-- examples-switch/models/models_mesh_picking.c | 4 ++-- examples-switch/models/models_orthographic_projection.c | 4 ++-- examples-switch/models/models_rlgl_solar_system.c | 4 ++-- examples-switch/models/models_skybox.c | 4 ++-- examples-switch/models/models_waving_cubes.c | 4 ++-- examples-switch/models/models_yaw_pitch_roll.c | 4 ++-- examples-switch/others/easings_testbed.c | 4 ++-- examples-switch/others/embedded_files_loading.c | 4 ++-- examples-switch/others/raylib_opengl_interop.c | 4 ++-- examples-switch/others/rlgl_standalone.c | 4 ++-- examples-switch/shaders/shaders_basic_lighting.c | 4 ++-- examples-switch/shaders/shaders_custom_uniform.c | 4 ++-- examples-switch/shaders/shaders_eratosthenes.c | 4 ++-- examples-switch/shaders/shaders_fog.c | 4 ++-- examples-switch/shaders/shaders_hot_reloading.c | 4 ++-- examples-switch/shaders/shaders_julia_set.c | 4 ++-- examples-switch/shaders/shaders_mesh_instancing.c | 4 ++-- examples-switch/shaders/shaders_model_shader.c | 4 ++-- examples-switch/shaders/shaders_multi_sample2d.c | 4 ++-- examples-switch/shaders/shaders_palette_switch.c | 4 ++-- examples-switch/shaders/shaders_postprocessing.c | 4 ++-- examples-switch/shaders/shaders_raymarching.c | 4 ++-- examples-switch/shaders/shaders_shapes_textures.c | 4 ++-- examples-switch/shaders/shaders_simple_mask.c | 4 ++-- examples-switch/shaders/shaders_spotlight.c | 4 ++-- examples-switch/shaders/shaders_texture_drawing.c | 4 ++-- examples-switch/shaders/shaders_texture_outline.c | 4 ++-- examples-switch/shaders/shaders_texture_waves.c | 4 ++-- examples-switch/shapes/shapes_basic_shapes.c | 4 ++-- examples-switch/shapes/shapes_bouncing_ball.c | 4 ++-- examples-switch/shapes/shapes_collision_area.c | 4 ++-- examples-switch/shapes/shapes_colors_palette.c | 4 ++-- examples-switch/shapes/shapes_draw_circle_sector.c | 4 ++-- examples-switch/shapes/shapes_draw_rectangle_rounded.c | 4 ++-- examples-switch/shapes/shapes_draw_ring.c | 4 ++-- examples-switch/shapes/shapes_easings_ball_anim.c | 4 ++-- examples-switch/shapes/shapes_easings_box_anim.c | 4 ++-- examples-switch/shapes/shapes_easings_rectangle_array.c | 4 ++-- examples-switch/shapes/shapes_following_eyes.c | 4 ++-- examples-switch/shapes/shapes_lines_bezier.c | 4 ++-- examples-switch/shapes/shapes_logo_raylib.c | 4 ++-- examples-switch/shapes/shapes_logo_raylib_anim.c | 4 ++-- examples-switch/shapes/shapes_rectangle_scaling.c | 4 ++-- examples-switch/shapes/shapes_top_down_lights.c | 4 ++-- examples-switch/text/text_codepoints_loading.c | 4 ++-- examples-switch/text/text_draw_3d.c | 4 ++-- examples-switch/text/text_font_filters.c | 4 ++-- examples-switch/text/text_font_loading.c | 4 ++-- examples-switch/text/text_font_sdf.c | 4 ++-- examples-switch/text/text_font_spritefont.c | 4 ++-- examples-switch/text/text_format_text.c | 4 ++-- examples-switch/text/text_input_box.c | 4 ++-- examples-switch/text/text_raylib_fonts.c | 4 ++-- examples-switch/text/text_rectangle_bounds.c | 4 ++-- examples-switch/text/text_unicode.c | 4 ++-- examples-switch/text/text_writing_anim.c | 4 ++-- examples-switch/textures/textures_background_scrolling.c | 4 ++-- examples-switch/textures/textures_blend_modes.c | 4 ++-- examples-switch/textures/textures_bunnymark.c | 4 ++-- examples-switch/textures/textures_draw_tiled.c | 4 ++-- examples-switch/textures/textures_fog_of_war.c | 4 ++-- examples-switch/textures/textures_gif_player.c | 4 ++-- examples-switch/textures/textures_image_drawing.c | 4 ++-- examples-switch/textures/textures_image_generation.c | 4 ++-- examples-switch/textures/textures_image_loading.c | 4 ++-- examples-switch/textures/textures_image_processing.c | 4 ++-- examples-switch/textures/textures_image_text.c | 4 ++-- examples-switch/textures/textures_logo_raylib.c | 4 ++-- examples-switch/textures/textures_mouse_painting.c | 4 ++-- examples-switch/textures/textures_npatch_drawing.c | 4 ++-- examples-switch/textures/textures_particles_blending.c | 4 ++-- examples-switch/textures/textures_polygon.c | 4 ++-- examples-switch/textures/textures_raw_data.c | 4 ++-- examples-switch/textures/textures_sprite_anim.c | 4 ++-- examples-switch/textures/textures_sprite_button.c | 4 ++-- examples-switch/textures/textures_sprite_explosion.c | 4 ++-- examples-switch/textures/textures_srcrec_dstrec.c | 4 ++-- examples-switch/textures/textures_to_image.c | 4 ++-- 127 files changed, 256 insertions(+), 253 deletions(-) diff --git a/examples-switch/Makefile b/examples-switch/Makefile index 3d659baf6..dce06e9b8 100644 --- a/examples-switch/Makefile +++ b/examples-switch/Makefile @@ -26,7 +26,7 @@ # Define required environment variables #------------------------------------------------------------------------------------------------ # Define target platform: PLATFORM_DESKTOP, PLATFORM_RPI, PLATFORM_DRM, PLATFORM_ANDROID, PLATFORM_WEB, PLATFORM_NX -PLATFORM ?= PLATFORM_DESKTOP +PLATFORM ?= PLATFORM_NX # Define required raylib variables PROJECT_NAME ?= raylib_examples diff --git a/examples-switch/audio/audio_module_playing.c b/examples-switch/audio/audio_module_playing.c index e47db592b..87dd0125d 100644 --- a/examples-switch/audio/audio_module_playing.c +++ b/examples-switch/audio/audio_module_playing.c @@ -12,6 +12,7 @@ ********************************************************************************************/ #include "raylib.h" +#include #define MAX_CIRCLES 64 @@ -30,8 +31,10 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; + + romfsInit(); SetConfigFlags(FLAG_MSAA_4X_HINT); // NOTE: Try to enable MSAA 4X diff --git a/examples-switch/audio/audio_multichannel_sound.c b/examples-switch/audio/audio_multichannel_sound.c index 3e6a612c8..c778c1c8a 100644 --- a/examples-switch/audio/audio_multichannel_sound.c +++ b/examples-switch/audio/audio_multichannel_sound.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [audio] example - Multichannel sound playing"); diff --git a/examples-switch/audio/audio_music_stream.c b/examples-switch/audio/audio_music_stream.c index f4819eb13..9210b4874 100644 --- a/examples-switch/audio/audio_music_stream.c +++ b/examples-switch/audio/audio_music_stream.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [audio] example - music playing (streaming)"); diff --git a/examples-switch/audio/audio_raw_stream.c b/examples-switch/audio/audio_raw_stream.c index afee42962..7c07975a4 100644 --- a/examples-switch/audio/audio_raw_stream.c +++ b/examples-switch/audio/audio_raw_stream.c @@ -58,8 +58,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [audio] example - raw audio streaming"); diff --git a/examples-switch/audio/audio_sound_loading.c b/examples-switch/audio/audio_sound_loading.c index 6a2670439..53c15a748 100644 --- a/examples-switch/audio/audio_sound_loading.c +++ b/examples-switch/audio/audio_sound_loading.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [audio] example - sound loading and playing"); diff --git a/examples-switch/audio/audio_stream_effects.c b/examples-switch/audio/audio_stream_effects.c index ddaeb7fb0..250461fc6 100644 --- a/examples-switch/audio/audio_stream_effects.c +++ b/examples-switch/audio/audio_stream_effects.c @@ -34,8 +34,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [audio] example - stream effects"); diff --git a/examples-switch/core/core_2d_camera.c b/examples-switch/core/core_2d_camera.c index edc67a0a8..27ed99fce 100644 --- a/examples-switch/core/core_2d_camera.c +++ b/examples-switch/core/core_2d_camera.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - 2d camera"); diff --git a/examples-switch/core/core_2d_camera_mouse_zoom.c b/examples-switch/core/core_2d_camera_mouse_zoom.c index 74ac76499..cdf3743c8 100644 --- a/examples-switch/core/core_2d_camera_mouse_zoom.c +++ b/examples-switch/core/core_2d_camera_mouse_zoom.c @@ -23,8 +23,8 @@ int main () { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - 2d camera mouse zoom"); diff --git a/examples-switch/core/core_2d_camera_platformer.c b/examples-switch/core/core_2d_camera_platformer.c index 5750e7a80..cf134591e 100644 --- a/examples-switch/core/core_2d_camera_platformer.c +++ b/examples-switch/core/core_2d_camera_platformer.c @@ -49,8 +49,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - 2d camera"); diff --git a/examples-switch/core/core_3d_camera_first_person.c b/examples-switch/core/core_3d_camera_first_person.c index 3af829e25..8d674b53f 100644 --- a/examples-switch/core/core_3d_camera_first_person.c +++ b/examples-switch/core/core_3d_camera_first_person.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d camera first person"); diff --git a/examples-switch/core/core_3d_camera_free.c b/examples-switch/core/core_3d_camera_free.c index b3b0b9b0b..c8ba7af56 100644 --- a/examples-switch/core/core_3d_camera_free.c +++ b/examples-switch/core/core_3d_camera_free.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d camera free"); diff --git a/examples-switch/core/core_3d_camera_mode.c b/examples-switch/core/core_3d_camera_mode.c index ffa1acd6d..745773632 100644 --- a/examples-switch/core/core_3d_camera_mode.c +++ b/examples-switch/core/core_3d_camera_mode.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d camera mode"); diff --git a/examples-switch/core/core_3d_picking.c b/examples-switch/core/core_3d_picking.c index 8cd3a3fe1..00cc77828 100644 --- a/examples-switch/core/core_3d_picking.c +++ b/examples-switch/core/core_3d_picking.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d picking"); diff --git a/examples-switch/core/core_basic_screen_manager.c b/examples-switch/core/core_basic_screen_manager.c index 1364982e8..6fc4791dd 100644 --- a/examples-switch/core/core_basic_screen_manager.c +++ b/examples-switch/core/core_basic_screen_manager.c @@ -27,8 +27,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - basic screen manager"); diff --git a/examples-switch/core/core_basic_window.c b/examples-switch/core/core_basic_window.c index be7a449ab..28088878b 100644 --- a/examples-switch/core/core_basic_window.c +++ b/examples-switch/core/core_basic_window.c @@ -30,8 +30,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window"); diff --git a/examples-switch/core/core_basic_window_web.c b/examples-switch/core/core_basic_window_web.c index 7dc47f9c9..b4f495b0f 100644 --- a/examples-switch/core/core_basic_window_web.c +++ b/examples-switch/core/core_basic_window_web.c @@ -26,8 +26,8 @@ //---------------------------------------------------------------------------------- // Global Variables Definition //---------------------------------------------------------------------------------- -const int screenWidth = 800; -const int screenHeight = 450; +const int screenWidth = 1280; +const int screenHeight = 720; //---------------------------------------------------------------------------------- // Module functions declaration diff --git a/examples-switch/core/core_custom_frame_control.c b/examples-switch/core/core_custom_frame_control.c index 016c6c448..b9026ab05 100644 --- a/examples-switch/core/core_custom_frame_control.c +++ b/examples-switch/core/core_custom_frame_control.c @@ -35,8 +35,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - custom frame control"); diff --git a/examples-switch/core/core_custom_logging.c b/examples-switch/core/core_custom_logging.c index 9794d14b9..c9dd66f66 100644 --- a/examples-switch/core/core_custom_logging.c +++ b/examples-switch/core/core_custom_logging.c @@ -48,8 +48,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; // Set custom logger SetTraceLogCallback(CustomLog); diff --git a/examples-switch/core/core_drop_files.c b/examples-switch/core/core_drop_files.c index 35ebc7689..536c8f6e9 100644 --- a/examples-switch/core/core_drop_files.c +++ b/examples-switch/core/core_drop_files.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - drop files"); diff --git a/examples-switch/core/core_input_gamepad.c b/examples-switch/core/core_input_gamepad.c index 02ac17053..61451aced 100644 --- a/examples-switch/core/core_input_gamepad.c +++ b/examples-switch/core/core_input_gamepad.c @@ -36,8 +36,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_MSAA_4X_HINT); // Set MSAA 4X hint before windows creation diff --git a/examples-switch/core/core_input_gestures.c b/examples-switch/core/core_input_gestures.c index 012204ddd..9b380c0e4 100644 --- a/examples-switch/core/core_input_gestures.c +++ b/examples-switch/core/core_input_gestures.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - input gestures"); diff --git a/examples-switch/core/core_input_keys.c b/examples-switch/core/core_input_keys.c index 6020d577f..16e8e25a1 100644 --- a/examples-switch/core/core_input_keys.c +++ b/examples-switch/core/core_input_keys.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - keyboard input"); diff --git a/examples-switch/core/core_input_mouse.c b/examples-switch/core/core_input_mouse.c index 6e164f50b..0654adb00 100644 --- a/examples-switch/core/core_input_mouse.c +++ b/examples-switch/core/core_input_mouse.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - mouse input"); diff --git a/examples-switch/core/core_input_mouse_wheel.c b/examples-switch/core/core_input_mouse_wheel.c index 1f384cd0c..ad6f58362 100644 --- a/examples-switch/core/core_input_mouse_wheel.c +++ b/examples-switch/core/core_input_mouse_wheel.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - input mouse wheel"); diff --git a/examples-switch/core/core_input_multitouch.c b/examples-switch/core/core_input_multitouch.c index 1eb6905b5..d1eb44590 100644 --- a/examples-switch/core/core_input_multitouch.c +++ b/examples-switch/core/core_input_multitouch.c @@ -24,8 +24,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - input multitouch"); diff --git a/examples-switch/core/core_loading_thread.c b/examples-switch/core/core_loading_thread.c index 09ec76460..83cef4135 100644 --- a/examples-switch/core/core_loading_thread.c +++ b/examples-switch/core/core_loading_thread.c @@ -35,8 +35,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - loading thread"); diff --git a/examples-switch/core/core_random_values.c b/examples-switch/core/core_random_values.c index 9150b9f45..0cf846de3 100644 --- a/examples-switch/core/core_random_values.c +++ b/examples-switch/core/core_random_values.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - generate random values"); diff --git a/examples-switch/core/core_scissor_test.c b/examples-switch/core/core_scissor_test.c index f296a3acb..6194b0c71 100644 --- a/examples-switch/core/core_scissor_test.c +++ b/examples-switch/core/core_scissor_test.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - scissor test"); diff --git a/examples-switch/core/core_smooth_pixelperfect.c b/examples-switch/core/core_smooth_pixelperfect.c index 36fb09c58..b5307d5a2 100644 --- a/examples-switch/core/core_smooth_pixelperfect.c +++ b/examples-switch/core/core_smooth_pixelperfect.c @@ -25,8 +25,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; const int virtualScreenWidth = 160; const int virtualScreenHeight = 90; diff --git a/examples-switch/core/core_split_screen.c b/examples-switch/core/core_split_screen.c index 1f1f3967b..5b9868a49 100644 --- a/examples-switch/core/core_split_screen.c +++ b/examples-switch/core/core_split_screen.c @@ -48,8 +48,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - split screen"); diff --git a/examples-switch/core/core_storage_values.c b/examples-switch/core/core_storage_values.c index c6f01217b..3e7443fcc 100644 --- a/examples-switch/core/core_storage_values.c +++ b/examples-switch/core/core_storage_values.c @@ -34,8 +34,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - storage save/load values"); diff --git a/examples-switch/core/core_vr_simulator.c b/examples-switch/core/core_vr_simulator.c index f5dc4d55d..b419ff7cd 100644 --- a/examples-switch/core/core_vr_simulator.c +++ b/examples-switch/core/core_vr_simulator.c @@ -26,8 +26,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; // NOTE: screenWidth/screenHeight should match VR device aspect ratio InitWindow(screenWidth, screenHeight, "raylib [core] example - vr simulator"); diff --git a/examples-switch/core/core_window_flags.c b/examples-switch/core/core_window_flags.c index 27a6e7b65..9b583fa82 100644 --- a/examples-switch/core/core_window_flags.c +++ b/examples-switch/core/core_window_flags.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //--------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; // Possible window flags /* diff --git a/examples-switch/core/core_window_should_close.c b/examples-switch/core/core_window_should_close.c index fa6b9b97b..16d77aabe 100644 --- a/examples-switch/core/core_window_should_close.c +++ b/examples-switch/core/core_window_should_close.c @@ -20,8 +20,8 @@ int main() { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - window should close"); diff --git a/examples-switch/core/core_world_screen.c b/examples-switch/core/core_world_screen.c index 80d9cf918..6b6e5be7f 100644 --- a/examples-switch/core/core_world_screen.c +++ b/examples-switch/core/core_world_screen.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d camera free"); diff --git a/examples-switch/models/models_animation.c b/examples-switch/models/models_animation.c index 161b21995..8d7c727e5 100644 --- a/examples-switch/models/models_animation.c +++ b/examples-switch/models/models_animation.c @@ -30,8 +30,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - model animation"); diff --git a/examples-switch/models/models_billboard.c b/examples-switch/models/models_billboard.c index 0b5a42d57..85bf16ec2 100644 --- a/examples-switch/models/models_billboard.c +++ b/examples-switch/models/models_billboard.c @@ -21,8 +21,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - drawing billboards"); diff --git a/examples-switch/models/models_box_collisions.c b/examples-switch/models/models_box_collisions.c index db8eb1f2d..ea884d2e7 100644 --- a/examples-switch/models/models_box_collisions.c +++ b/examples-switch/models/models_box_collisions.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - box collisions"); diff --git a/examples-switch/models/models_cubicmap.c b/examples-switch/models/models_cubicmap.c index e9da0482f..6c3c28e12 100644 --- a/examples-switch/models/models_cubicmap.c +++ b/examples-switch/models/models_cubicmap.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - cubesmap loading and drawing"); diff --git a/examples-switch/models/models_draw_cube_texture.c b/examples-switch/models/models_draw_cube_texture.c index b36e968f4..83591be9b 100644 --- a/examples-switch/models/models_draw_cube_texture.c +++ b/examples-switch/models/models_draw_cube_texture.c @@ -28,8 +28,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - draw cube texture"); diff --git a/examples-switch/models/models_first_person_maze.c b/examples-switch/models/models_first_person_maze.c index b2211c57e..c6c9ca251 100644 --- a/examples-switch/models/models_first_person_maze.c +++ b/examples-switch/models/models_first_person_maze.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - first person maze"); diff --git a/examples-switch/models/models_geometric_shapes.c b/examples-switch/models/models_geometric_shapes.c index 90261ad21..1cb9ee4da 100644 --- a/examples-switch/models/models_geometric_shapes.c +++ b/examples-switch/models/models_geometric_shapes.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - geometric shapes"); diff --git a/examples-switch/models/models_heightmap.c b/examples-switch/models/models_heightmap.c index 189d07d75..c1b940dbb 100644 --- a/examples-switch/models/models_heightmap.c +++ b/examples-switch/models/models_heightmap.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - heightmap loading and drawing"); diff --git a/examples-switch/models/models_loading.c b/examples-switch/models/models_loading.c index d40661412..18e717564 100644 --- a/examples-switch/models/models_loading.c +++ b/examples-switch/models/models_loading.c @@ -33,8 +33,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - models loading"); diff --git a/examples-switch/models/models_loading_gltf.c b/examples-switch/models/models_loading_gltf.c index 01a084069..9b299a7f9 100644 --- a/examples-switch/models/models_loading_gltf.c +++ b/examples-switch/models/models_loading_gltf.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - loading gltf"); diff --git a/examples-switch/models/models_loading_m3d.c b/examples-switch/models/models_loading_m3d.c index 819684073..28dced462 100644 --- a/examples-switch/models/models_loading_m3d.c +++ b/examples-switch/models/models_loading_m3d.c @@ -26,8 +26,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - M3D model loading"); diff --git a/examples-switch/models/models_loading_vox.c b/examples-switch/models/models_loading_vox.c index 80226d0a4..33400ae1c 100644 --- a/examples-switch/models/models_loading_vox.c +++ b/examples-switch/models/models_loading_vox.c @@ -26,8 +26,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; const char *voxFileNames[] = { "resources/models/vox/chr_knight.vox", diff --git a/examples-switch/models/models_mesh_generation.c b/examples-switch/models/models_mesh_generation.c index 35586c811..d0dbc0c10 100644 --- a/examples-switch/models/models_mesh_generation.c +++ b/examples-switch/models/models_mesh_generation.c @@ -24,8 +24,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - mesh generation"); diff --git a/examples-switch/models/models_mesh_picking.c b/examples-switch/models/models_mesh_picking.c index 64aba2624..a44051d6c 100644 --- a/examples-switch/models/models_mesh_picking.c +++ b/examples-switch/models/models_mesh_picking.c @@ -25,8 +25,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - mesh picking"); diff --git a/examples-switch/models/models_orthographic_projection.c b/examples-switch/models/models_orthographic_projection.c index cfdeb859b..28b28afbf 100644 --- a/examples-switch/models/models_orthographic_projection.c +++ b/examples-switch/models/models_orthographic_projection.c @@ -25,8 +25,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - geometric shapes"); diff --git a/examples-switch/models/models_rlgl_solar_system.c b/examples-switch/models/models_rlgl_solar_system.c index a49b37d06..152090802 100644 --- a/examples-switch/models/models_rlgl_solar_system.c +++ b/examples-switch/models/models_rlgl_solar_system.c @@ -30,8 +30,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; const float sunRadius = 4.0f; const float earthRadius = 0.6f; diff --git a/examples-switch/models/models_skybox.c b/examples-switch/models/models_skybox.c index b6ce72b2a..ed5152061 100644 --- a/examples-switch/models/models_skybox.c +++ b/examples-switch/models/models_skybox.c @@ -32,8 +32,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - skybox loading and drawing"); diff --git a/examples-switch/models/models_waving_cubes.c b/examples-switch/models/models_waving_cubes.c index f0737de3a..f00bd7c47 100644 --- a/examples-switch/models/models_waving_cubes.c +++ b/examples-switch/models/models_waving_cubes.c @@ -24,8 +24,8 @@ int main() { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [models] example - waving cubes"); diff --git a/examples-switch/models/models_yaw_pitch_roll.c b/examples-switch/models/models_yaw_pitch_roll.c index d3db9d063..c74fe3304 100644 --- a/examples-switch/models/models_yaw_pitch_roll.c +++ b/examples-switch/models/models_yaw_pitch_roll.c @@ -24,8 +24,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; //SetConfigFlags(FLAG_MSAA_4X_HINT | FLAG_WINDOW_HIGHDPI); InitWindow(screenWidth, screenHeight, "raylib [models] example - plane rotations (yaw, pitch, roll)"); diff --git a/examples-switch/others/easings_testbed.c b/examples-switch/others/easings_testbed.c index 38f47dd09..afc2aabf9 100644 --- a/examples-switch/others/easings_testbed.c +++ b/examples-switch/others/easings_testbed.c @@ -103,8 +103,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [easings] example - easings testbed"); diff --git a/examples-switch/others/embedded_files_loading.c b/examples-switch/others/embedded_files_loading.c index 3e3bc7d44..d6496257c 100644 --- a/examples-switch/others/embedded_files_loading.c +++ b/examples-switch/others/embedded_files_loading.c @@ -25,8 +25,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [others] example - embedded files loading"); diff --git a/examples-switch/others/raylib_opengl_interop.c b/examples-switch/others/raylib_opengl_interop.c index 2acb62193..99812edd5 100644 --- a/examples-switch/others/raylib_opengl_interop.c +++ b/examples-switch/others/raylib_opengl_interop.c @@ -57,8 +57,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib - point particles"); diff --git a/examples-switch/others/rlgl_standalone.c b/examples-switch/others/rlgl_standalone.c index 308699992..e585ceee0 100644 --- a/examples-switch/others/rlgl_standalone.c +++ b/examples-switch/others/rlgl_standalone.c @@ -120,8 +120,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; // GLFW3 Initialization + OpenGL 3.3 Context + Extensions //-------------------------------------------------------- diff --git a/examples-switch/shaders/shaders_basic_lighting.c b/examples-switch/shaders/shaders_basic_lighting.c index c557ecf73..d31e5e7fa 100644 --- a/examples-switch/shaders/shaders_basic_lighting.c +++ b/examples-switch/shaders/shaders_basic_lighting.c @@ -38,8 +38,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_MSAA_4X_HINT); // Enable Multi Sampling Anti Aliasing 4x (if available) InitWindow(screenWidth, screenHeight, "raylib [shaders] example - basic lighting"); diff --git a/examples-switch/shaders/shaders_custom_uniform.c b/examples-switch/shaders/shaders_custom_uniform.c index 401328e0f..e0a4fd501 100644 --- a/examples-switch/shaders/shaders_custom_uniform.c +++ b/examples-switch/shaders/shaders_custom_uniform.c @@ -33,8 +33,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_MSAA_4X_HINT); // Enable Multi Sampling Anti Aliasing 4x (if available) diff --git a/examples-switch/shaders/shaders_eratosthenes.c b/examples-switch/shaders/shaders_eratosthenes.c index a1f4101ac..346cd3b37 100644 --- a/examples-switch/shaders/shaders_eratosthenes.c +++ b/examples-switch/shaders/shaders_eratosthenes.c @@ -40,8 +40,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shaders] example - Sieve of Eratosthenes"); diff --git a/examples-switch/shaders/shaders_fog.c b/examples-switch/shaders/shaders_fog.c index de5c23df5..a485acc1f 100644 --- a/examples-switch/shaders/shaders_fog.c +++ b/examples-switch/shaders/shaders_fog.c @@ -38,8 +38,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_MSAA_4X_HINT); // Enable Multi Sampling Anti Aliasing 4x (if available) InitWindow(screenWidth, screenHeight, "raylib [shaders] example - fog"); diff --git a/examples-switch/shaders/shaders_hot_reloading.c b/examples-switch/shaders/shaders_hot_reloading.c index e9aae3496..8cc387ee4 100644 --- a/examples-switch/shaders/shaders_hot_reloading.c +++ b/examples-switch/shaders/shaders_hot_reloading.c @@ -32,8 +32,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shaders] example - hot reloading"); diff --git a/examples-switch/shaders/shaders_julia_set.c b/examples-switch/shaders/shaders_julia_set.c index 962c723b1..1c7fe5f90 100644 --- a/examples-switch/shaders/shaders_julia_set.c +++ b/examples-switch/shaders/shaders_julia_set.c @@ -44,8 +44,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; //SetConfigFlags(FLAG_WINDOW_HIGHDPI); InitWindow(screenWidth, screenHeight, "raylib [shaders] example - julia sets"); diff --git a/examples-switch/shaders/shaders_mesh_instancing.c b/examples-switch/shaders/shaders_mesh_instancing.c index ce0855d94..79ee765a7 100644 --- a/examples-switch/shaders/shaders_mesh_instancing.c +++ b/examples-switch/shaders/shaders_mesh_instancing.c @@ -37,8 +37,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shaders] example - mesh instancing"); diff --git a/examples-switch/shaders/shaders_model_shader.c b/examples-switch/shaders/shaders_model_shader.c index 29c1948c9..360de8444 100644 --- a/examples-switch/shaders/shaders_model_shader.c +++ b/examples-switch/shaders/shaders_model_shader.c @@ -33,8 +33,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_MSAA_4X_HINT); // Enable Multi Sampling Anti Aliasing 4x (if available) diff --git a/examples-switch/shaders/shaders_multi_sample2d.c b/examples-switch/shaders/shaders_multi_sample2d.c index ae5470fff..028eeb6fb 100644 --- a/examples-switch/shaders/shaders_multi_sample2d.c +++ b/examples-switch/shaders/shaders_multi_sample2d.c @@ -33,8 +33,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib - multiple sample2D"); diff --git a/examples-switch/shaders/shaders_palette_switch.c b/examples-switch/shaders/shaders_palette_switch.c index b47bbf16f..1aa3380b6 100644 --- a/examples-switch/shaders/shaders_palette_switch.c +++ b/examples-switch/shaders/shaders_palette_switch.c @@ -78,8 +78,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shaders] example - color palette switch"); diff --git a/examples-switch/shaders/shaders_postprocessing.c b/examples-switch/shaders/shaders_postprocessing.c index 758250f19..3c974c22a 100644 --- a/examples-switch/shaders/shaders_postprocessing.c +++ b/examples-switch/shaders/shaders_postprocessing.c @@ -67,8 +67,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_MSAA_4X_HINT); // Enable Multi Sampling Anti Aliasing 4x (if available) diff --git a/examples-switch/shaders/shaders_raymarching.c b/examples-switch/shaders/shaders_raymarching.c index 8be45fb9f..79c04e116 100644 --- a/examples-switch/shaders/shaders_raymarching.c +++ b/examples-switch/shaders/shaders_raymarching.c @@ -29,8 +29,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_WINDOW_RESIZABLE); InitWindow(screenWidth, screenHeight, "raylib [shaders] example - raymarching shapes"); diff --git a/examples-switch/shaders/shaders_shapes_textures.c b/examples-switch/shaders/shaders_shapes_textures.c index ca6677fbd..dadc548c8 100644 --- a/examples-switch/shaders/shaders_shapes_textures.c +++ b/examples-switch/shaders/shaders_shapes_textures.c @@ -33,8 +33,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shaders] example - shapes and texture shaders"); diff --git a/examples-switch/shaders/shaders_simple_mask.c b/examples-switch/shaders/shaders_simple_mask.c index d10878d77..2fda11a44 100644 --- a/examples-switch/shaders/shaders_simple_mask.c +++ b/examples-switch/shaders/shaders_simple_mask.c @@ -36,8 +36,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib - simple shader mask"); diff --git a/examples-switch/shaders/shaders_spotlight.c b/examples-switch/shaders/shaders_spotlight.c index 6ddcd42f6..effbd0f08 100644 --- a/examples-switch/shaders/shaders_spotlight.c +++ b/examples-switch/shaders/shaders_spotlight.c @@ -72,8 +72,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib - shader spotlight"); HideCursor(); diff --git a/examples-switch/shaders/shaders_texture_drawing.c b/examples-switch/shaders/shaders_texture_drawing.c index 6b82915b5..8ab343946 100644 --- a/examples-switch/shaders/shaders_texture_drawing.c +++ b/examples-switch/shaders/shaders_texture_drawing.c @@ -30,8 +30,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shaders] example - texture drawing"); diff --git a/examples-switch/shaders/shaders_texture_outline.c b/examples-switch/shaders/shaders_texture_outline.c index c81d3ff16..34aada6b3 100644 --- a/examples-switch/shaders/shaders_texture_outline.c +++ b/examples-switch/shaders/shaders_texture_outline.c @@ -31,8 +31,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shaders] example - Apply an outline to a texture"); diff --git a/examples-switch/shaders/shaders_texture_waves.c b/examples-switch/shaders/shaders_texture_waves.c index cc250f1b9..985b7c5b6 100644 --- a/examples-switch/shaders/shaders_texture_waves.c +++ b/examples-switch/shaders/shaders_texture_waves.c @@ -35,8 +35,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shaders] example - texture waves"); diff --git a/examples-switch/shapes/shapes_basic_shapes.c b/examples-switch/shapes/shapes_basic_shapes.c index edc0b0c6b..10b1b7570 100644 --- a/examples-switch/shapes/shapes_basic_shapes.c +++ b/examples-switch/shapes/shapes_basic_shapes.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - basic shapes drawing"); diff --git a/examples-switch/shapes/shapes_bouncing_ball.c b/examples-switch/shapes/shapes_bouncing_ball.c index 19f58da65..9e8962a5e 100644 --- a/examples-switch/shapes/shapes_bouncing_ball.c +++ b/examples-switch/shapes/shapes_bouncing_ball.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //--------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - bouncing ball"); diff --git a/examples-switch/shapes/shapes_collision_area.c b/examples-switch/shapes/shapes_collision_area.c index e83f83834..f642b22ee 100644 --- a/examples-switch/shapes/shapes_collision_area.c +++ b/examples-switch/shapes/shapes_collision_area.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //--------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - collision area"); diff --git a/examples-switch/shapes/shapes_colors_palette.c b/examples-switch/shapes/shapes_colors_palette.c index 49aad8a37..cafbdcfd8 100644 --- a/examples-switch/shapes/shapes_colors_palette.c +++ b/examples-switch/shapes/shapes_colors_palette.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - colors palette"); diff --git a/examples-switch/shapes/shapes_draw_circle_sector.c b/examples-switch/shapes/shapes_draw_circle_sector.c index 1fcd8aa48..f1bb91f14 100644 --- a/examples-switch/shapes/shapes_draw_circle_sector.c +++ b/examples-switch/shapes/shapes_draw_circle_sector.c @@ -25,8 +25,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - draw circle sector"); diff --git a/examples-switch/shapes/shapes_draw_rectangle_rounded.c b/examples-switch/shapes/shapes_draw_rectangle_rounded.c index 9c527e5ef..332c46397 100644 --- a/examples-switch/shapes/shapes_draw_rectangle_rounded.c +++ b/examples-switch/shapes/shapes_draw_rectangle_rounded.c @@ -25,8 +25,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - draw rectangle rounded"); diff --git a/examples-switch/shapes/shapes_draw_ring.c b/examples-switch/shapes/shapes_draw_ring.c index 6225d473c..e62e04ada 100644 --- a/examples-switch/shapes/shapes_draw_ring.c +++ b/examples-switch/shapes/shapes_draw_ring.c @@ -25,8 +25,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - draw ring"); diff --git a/examples-switch/shapes/shapes_easings_ball_anim.c b/examples-switch/shapes/shapes_easings_ball_anim.c index e6b595c32..f7c42dc4e 100644 --- a/examples-switch/shapes/shapes_easings_ball_anim.c +++ b/examples-switch/shapes/shapes_easings_ball_anim.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - easings ball anim"); diff --git a/examples-switch/shapes/shapes_easings_box_anim.c b/examples-switch/shapes/shapes_easings_box_anim.c index 05cba1959..3a6838e4c 100644 --- a/examples-switch/shapes/shapes_easings_box_anim.c +++ b/examples-switch/shapes/shapes_easings_box_anim.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - easings box anim"); diff --git a/examples-switch/shapes/shapes_easings_rectangle_array.c b/examples-switch/shapes/shapes_easings_rectangle_array.c index a2ab6397d..7dbe359b8 100644 --- a/examples-switch/shapes/shapes_easings_rectangle_array.c +++ b/examples-switch/shapes/shapes_easings_rectangle_array.c @@ -33,8 +33,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - easings rectangle array"); diff --git a/examples-switch/shapes/shapes_following_eyes.c b/examples-switch/shapes/shapes_following_eyes.c index 43a50a79d..74bd65d37 100644 --- a/examples-switch/shapes/shapes_following_eyes.c +++ b/examples-switch/shapes/shapes_following_eyes.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - following eyes"); diff --git a/examples-switch/shapes/shapes_lines_bezier.c b/examples-switch/shapes/shapes_lines_bezier.c index 76c232792..b4c857609 100644 --- a/examples-switch/shapes/shapes_lines_bezier.c +++ b/examples-switch/shapes/shapes_lines_bezier.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_MSAA_4X_HINT); InitWindow(screenWidth, screenHeight, "raylib [shapes] example - cubic-bezier lines"); diff --git a/examples-switch/shapes/shapes_logo_raylib.c b/examples-switch/shapes/shapes_logo_raylib.c index 48005c7ae..edc6d8a54 100644 --- a/examples-switch/shapes/shapes_logo_raylib.c +++ b/examples-switch/shapes/shapes_logo_raylib.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - raylib logo using shapes"); diff --git a/examples-switch/shapes/shapes_logo_raylib_anim.c b/examples-switch/shapes/shapes_logo_raylib_anim.c index 60e839f51..fe0045927 100644 --- a/examples-switch/shapes/shapes_logo_raylib_anim.c +++ b/examples-switch/shapes/shapes_logo_raylib_anim.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - raylib logo animation"); diff --git a/examples-switch/shapes/shapes_rectangle_scaling.c b/examples-switch/shapes/shapes_rectangle_scaling.c index 0faeee2f3..50431a9e9 100644 --- a/examples-switch/shapes/shapes_rectangle_scaling.c +++ b/examples-switch/shapes/shapes_rectangle_scaling.c @@ -24,8 +24,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - rectangle scaling mouse"); diff --git a/examples-switch/shapes/shapes_top_down_lights.c b/examples-switch/shapes/shapes_top_down_lights.c index d75d46d74..4099c73b7 100644 --- a/examples-switch/shapes/shapes_top_down_lights.c +++ b/examples-switch/shapes/shapes_top_down_lights.c @@ -215,8 +215,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - top down lights"); diff --git a/examples-switch/text/text_codepoints_loading.c b/examples-switch/text/text_codepoints_loading.c index c68544030..8b68bbb6a 100644 --- a/examples-switch/text/text_codepoints_loading.c +++ b/examples-switch/text/text_codepoints_loading.c @@ -31,8 +31,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [text] example - codepoints loading"); diff --git a/examples-switch/text/text_draw_3d.c b/examples-switch/text/text_draw_3d.c index f03ad7849..d4508b36a 100644 --- a/examples-switch/text/text_draw_3d.c +++ b/examples-switch/text/text_draw_3d.c @@ -81,8 +81,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_MSAA_4X_HINT|FLAG_VSYNC_HINT); InitWindow(screenWidth, screenHeight, "raylib [text] example - draw 2D text in 3D"); diff --git a/examples-switch/text/text_font_filters.c b/examples-switch/text/text_font_filters.c index 7d9082b5d..c9d07925c 100644 --- a/examples-switch/text/text_font_filters.c +++ b/examples-switch/text/text_font_filters.c @@ -24,8 +24,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [text] example - font filters"); diff --git a/examples-switch/text/text_font_loading.c b/examples-switch/text/text_font_loading.c index 6ebdbbcdd..eabbdf89a 100644 --- a/examples-switch/text/text_font_loading.c +++ b/examples-switch/text/text_font_loading.c @@ -29,8 +29,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [text] example - font loading"); diff --git a/examples-switch/text/text_font_sdf.c b/examples-switch/text/text_font_sdf.c index 9e7465019..897175461 100644 --- a/examples-switch/text/text_font_sdf.c +++ b/examples-switch/text/text_font_sdf.c @@ -28,8 +28,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [text] example - SDF fonts"); diff --git a/examples-switch/text/text_font_spritefont.c b/examples-switch/text/text_font_spritefont.c index 109ab486b..27984f61d 100644 --- a/examples-switch/text/text_font_spritefont.c +++ b/examples-switch/text/text_font_spritefont.c @@ -30,8 +30,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [text] example - sprite font loading"); diff --git a/examples-switch/text/text_format_text.c b/examples-switch/text/text_format_text.c index dbdbb0fdb..0a3f8110e 100644 --- a/examples-switch/text/text_format_text.c +++ b/examples-switch/text/text_format_text.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [text] example - text formatting"); diff --git a/examples-switch/text/text_input_box.c b/examples-switch/text/text_input_box.c index 4d2eee442..4926674c6 100644 --- a/examples-switch/text/text_input_box.c +++ b/examples-switch/text/text_input_box.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [text] example - input box"); diff --git a/examples-switch/text/text_raylib_fonts.c b/examples-switch/text/text_raylib_fonts.c index f08569a2e..e41fc6ddb 100644 --- a/examples-switch/text/text_raylib_fonts.c +++ b/examples-switch/text/text_raylib_fonts.c @@ -25,8 +25,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [text] example - raylib fonts"); diff --git a/examples-switch/text/text_rectangle_bounds.c b/examples-switch/text/text_rectangle_bounds.c index 9ae2ba938..ee7ed0ef1 100644 --- a/examples-switch/text/text_rectangle_bounds.c +++ b/examples-switch/text/text_rectangle_bounds.c @@ -25,8 +25,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [text] example - draw text inside a rectangle"); diff --git a/examples-switch/text/text_unicode.c b/examples-switch/text/text_unicode.c index 4af542655..97bd43fc3 100644 --- a/examples-switch/text/text_unicode.c +++ b/examples-switch/text/text_unicode.c @@ -157,8 +157,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_MSAA_4X_HINT | FLAG_VSYNC_HINT); InitWindow(screenWidth, screenHeight, "raylib [text] example - unicode"); diff --git a/examples-switch/text/text_writing_anim.c b/examples-switch/text/text_writing_anim.c index 6beb3e552..004812d0b 100644 --- a/examples-switch/text/text_writing_anim.c +++ b/examples-switch/text/text_writing_anim.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [text] example - text writing anim"); diff --git a/examples-switch/textures/textures_background_scrolling.c b/examples-switch/textures/textures_background_scrolling.c index 70b67c3de..b4e8ae75c 100644 --- a/examples-switch/textures/textures_background_scrolling.c +++ b/examples-switch/textures/textures_background_scrolling.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - background scrolling"); diff --git a/examples-switch/textures/textures_blend_modes.c b/examples-switch/textures/textures_blend_modes.c index b8131354a..7c37108c2 100644 --- a/examples-switch/textures/textures_blend_modes.c +++ b/examples-switch/textures/textures_blend_modes.c @@ -24,8 +24,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - blend modes"); diff --git a/examples-switch/textures/textures_bunnymark.c b/examples-switch/textures/textures_bunnymark.c index 2cca8b48f..4aa5d92a3 100644 --- a/examples-switch/textures/textures_bunnymark.c +++ b/examples-switch/textures/textures_bunnymark.c @@ -34,8 +34,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - bunnymark"); diff --git a/examples-switch/textures/textures_draw_tiled.c b/examples-switch/textures/textures_draw_tiled.c index f68f23669..1625139b4 100644 --- a/examples-switch/textures/textures_draw_tiled.c +++ b/examples-switch/textures/textures_draw_tiled.c @@ -30,8 +30,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; SetConfigFlags(FLAG_WINDOW_RESIZABLE); // Make the window resizable InitWindow(screenWidth, screenHeight, "raylib [textures] example - Draw part of a texture tiled"); diff --git a/examples-switch/textures/textures_fog_of_war.c b/examples-switch/textures/textures_fog_of_war.c index d89386c86..b5295e473 100644 --- a/examples-switch/textures/textures_fog_of_war.c +++ b/examples-switch/textures/textures_fog_of_war.c @@ -34,8 +34,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - int screenWidth = 800; - int screenHeight = 450; + int screenWidth = 1280; + int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - fog of war"); diff --git a/examples-switch/textures/textures_gif_player.c b/examples-switch/textures/textures_gif_player.c index 099a71268..becc04ae3 100644 --- a/examples-switch/textures/textures_gif_player.c +++ b/examples-switch/textures/textures_gif_player.c @@ -23,8 +23,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - gif playing"); diff --git a/examples-switch/textures/textures_image_drawing.c b/examples-switch/textures/textures_image_drawing.c index 190fb8594..f7e7a86fc 100644 --- a/examples-switch/textures/textures_image_drawing.c +++ b/examples-switch/textures/textures_image_drawing.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - image drawing"); diff --git a/examples-switch/textures/textures_image_generation.c b/examples-switch/textures/textures_image_generation.c index ed67be036..056dd8b6e 100644 --- a/examples-switch/textures/textures_image_generation.c +++ b/examples-switch/textures/textures_image_generation.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - procedural images generation"); diff --git a/examples-switch/textures/textures_image_loading.c b/examples-switch/textures/textures_image_loading.c index 1e5cb6c5a..9fe454446 100644 --- a/examples-switch/textures/textures_image_loading.c +++ b/examples-switch/textures/textures_image_loading.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - image loading"); diff --git a/examples-switch/textures/textures_image_processing.c b/examples-switch/textures/textures_image_processing.c index 49aacfc75..ba05dd764 100644 --- a/examples-switch/textures/textures_image_processing.c +++ b/examples-switch/textures/textures_image_processing.c @@ -50,8 +50,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - image processing"); diff --git a/examples-switch/textures/textures_image_text.c b/examples-switch/textures/textures_image_text.c index f4c919d53..1c98404fe 100644 --- a/examples-switch/textures/textures_image_text.c +++ b/examples-switch/textures/textures_image_text.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [texture] example - image text drawing"); diff --git a/examples-switch/textures/textures_logo_raylib.c b/examples-switch/textures/textures_logo_raylib.c index 5afd14753..ba06270fe 100644 --- a/examples-switch/textures/textures_logo_raylib.c +++ b/examples-switch/textures/textures_logo_raylib.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - texture loading and drawing"); diff --git a/examples-switch/textures/textures_mouse_painting.c b/examples-switch/textures/textures_mouse_painting.c index eb6dc480a..3caf660a2 100644 --- a/examples-switch/textures/textures_mouse_painting.c +++ b/examples-switch/textures/textures_mouse_painting.c @@ -24,8 +24,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - mouse painting"); diff --git a/examples-switch/textures/textures_npatch_drawing.c b/examples-switch/textures/textures_npatch_drawing.c index 515ad9b52..69cfbb4a3 100644 --- a/examples-switch/textures/textures_npatch_drawing.c +++ b/examples-switch/textures/textures_npatch_drawing.c @@ -24,8 +24,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - N-patch drawing"); diff --git a/examples-switch/textures/textures_particles_blending.c b/examples-switch/textures/textures_particles_blending.c index 7f1952f05..e5c2c767e 100644 --- a/examples-switch/textures/textures_particles_blending.c +++ b/examples-switch/textures/textures_particles_blending.c @@ -32,8 +32,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - particles blending"); diff --git a/examples-switch/textures/textures_polygon.c b/examples-switch/textures/textures_polygon.c index 287029f73..587485592 100644 --- a/examples-switch/textures/textures_polygon.c +++ b/examples-switch/textures/textures_polygon.c @@ -30,8 +30,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - textured polygon"); diff --git a/examples-switch/textures/textures_raw_data.c b/examples-switch/textures/textures_raw_data.c index cd0c9bf0e..e2f9ccd5c 100644 --- a/examples-switch/textures/textures_raw_data.c +++ b/examples-switch/textures/textures_raw_data.c @@ -24,8 +24,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - texture from raw data"); diff --git a/examples-switch/textures/textures_sprite_anim.c b/examples-switch/textures/textures_sprite_anim.c index aa9f18aeb..780c9122a 100644 --- a/examples-switch/textures/textures_sprite_anim.c +++ b/examples-switch/textures/textures_sprite_anim.c @@ -23,8 +23,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [texture] example - sprite anim"); diff --git a/examples-switch/textures/textures_sprite_button.c b/examples-switch/textures/textures_sprite_button.c index 5e2a4011c..d0b4ef7b1 100644 --- a/examples-switch/textures/textures_sprite_button.c +++ b/examples-switch/textures/textures_sprite_button.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - sprite button"); diff --git a/examples-switch/textures/textures_sprite_explosion.c b/examples-switch/textures/textures_sprite_explosion.c index 32c69849c..0f8598e78 100644 --- a/examples-switch/textures/textures_sprite_explosion.c +++ b/examples-switch/textures/textures_sprite_explosion.c @@ -23,8 +23,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - sprite explosion"); diff --git a/examples-switch/textures/textures_srcrec_dstrec.c b/examples-switch/textures/textures_srcrec_dstrec.c index 1839fc780..ee10a54c2 100644 --- a/examples-switch/textures/textures_srcrec_dstrec.c +++ b/examples-switch/textures/textures_srcrec_dstrec.c @@ -20,8 +20,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] examples - texture source and destination rectangles"); diff --git a/examples-switch/textures/textures_to_image.c b/examples-switch/textures/textures_to_image.c index 9acdf2334..1ab5d2a84 100644 --- a/examples-switch/textures/textures_to_image.c +++ b/examples-switch/textures/textures_to_image.c @@ -22,8 +22,8 @@ int main(void) { // Initialization //-------------------------------------------------------------------------------------- - const int screenWidth = 800; - const int screenHeight = 450; + const int screenWidth = 1280; + const int screenHeight = 720; InitWindow(screenWidth, screenHeight, "raylib [textures] example - texture to image");