summaryrefslogtreecommitdiffhomepage
path: root/examples/others/embedded_files_loading.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-04-22 18:55:24 +0200
committerRay <[email protected]>2021-04-22 18:55:24 +0200
commitdcf52c132fb0ca28f37dae9d957155e2541df812 (patch)
treeb6c263e59daba00fc33badd0a45fa6756d5df14c /examples/others/embedded_files_loading.c
parentf92ee46d86b5a0cfb05c10b0c31fb966a4784b44 (diff)
downloadraylib-dcf52c132fb0ca28f37dae9d957155e2541df812.tar.gz
raylib-dcf52c132fb0ca28f37dae9d957155e2541df812.zip
Remove trail spaces
Diffstat (limited to 'examples/others/embedded_files_loading.c')
-rw-r--r--examples/others/embedded_files_loading.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/others/embedded_files_loading.c b/examples/others/embedded_files_loading.c
index 7064ebc6..60a2a6f0 100644
--- a/examples/others/embedded_files_loading.c
+++ b/examples/others/embedded_files_loading.c
@@ -28,7 +28,7 @@ int main(void)
InitAudioDevice(); // Initialize audio device
// Loaded in CPU memory (RAM) from header file (audio_data.h)
- // Same as: Wave wave = LoadWave("sound.wav");
+ // Same as: Wave wave = LoadWave("sound.wav");
Wave wave = {
.data = AUDIO_DATA,
.sampleCount = AUDIO_SAMPLE_COUNT,
@@ -39,14 +39,14 @@ int main(void)
// Wave converted to Sound to be played
Sound sound = LoadSoundFromWave(wave);
-
+
// With a Wave loaded from file, after Sound is loaded, we can unload Wave
// but in our case, Wave is embedded in executable, in program .data segment
// we can not (and should not) try to free that private memory region
//UnloadWave(wave); // Do not unload wave data!
// Loaded in CPU memory (RAM) from header file (image_data.h)
- // Same as: Image image = LoadImage("raylib_logo.png");
+ // Same as: Image image = LoadImage("raylib_logo.png");
Image image = {
.data = IMAGE_DATA,
.width = IMAGE_WIDTH,
@@ -54,15 +54,15 @@ int main(void)
.format = IMAGE_FORMAT,
.mipmaps = 1
};
-
+
// Image converted to Texture (VRAM) to be drawn
- Texture2D texture = LoadTextureFromImage(image);
-
+ Texture2D texture = LoadTextureFromImage(image);
+
// With an Image loaded from file, after Texture is loaded, we can unload Image
// but in our case, Image is embedded in executable, in program .data segment
// we can not (and should not) try to free that private memory region
//UnloadImage(image); // Do not unload image data!
-
+
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------