diff options
| author | Ray <[email protected]> | 2021-03-12 18:05:09 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-12 18:05:09 +0100 |
| commit | 421c4e4cd85310bef3a8f79f89d23e3a1eac9668 (patch) | |
| tree | a49167a3f2c2ae7558c9a3a94696bc187ffbc824 /examples/web/textures/textures_image_processing.c | |
| parent | cc62fcccc630fdc4badcad8381d5bb43eb71fa1f (diff) | |
| download | raylib.com-421c4e4cd85310bef3a8f79f89d23e3a1eac9668.tar.gz raylib.com-421c4e4cd85310bef3a8f79f89d23e3a1eac9668.zip | |
Renamed FormatText() -> TextFormat()
Diffstat (limited to 'examples/web/textures/textures_image_processing.c')
| -rw-r--r-- | examples/web/textures/textures_image_processing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/web/textures/textures_image_processing.c b/examples/web/textures/textures_image_processing.c index 7e77987..5f7f330 100644 --- a/examples/web/textures/textures_image_processing.c +++ b/examples/web/textures/textures_image_processing.c @@ -143,9 +143,9 @@ void UpdateDrawFrame(void) default: break; } - Color *pixels = GetImageData(image); // Get pixel data from image (RGBA 32bit) + Color *pixels = LoadImageColors(image); // Get pixel data from image (RGBA 32bit) UpdateTexture(texture, pixels); // Update texture with new image data - free(pixels); // Unload pixels data from RAM + UnloadImageColors(pixels); // Unload pixels data from RAM textureReload = false; } |
