From 06c815f05810fb2a72356d19f9cac218ca977892 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 14 Mar 2021 13:10:05 +0100 Subject: Updated examples after enum values rename --- examples/web/textures/textures_raw_data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/web/textures/textures_raw_data.c') diff --git a/examples/web/textures/textures_raw_data.c b/examples/web/textures/textures_raw_data.c index c1078dc..dded6c3 100644 --- a/examples/web/textures/textures_raw_data.c +++ b/examples/web/textures/textures_raw_data.c @@ -43,7 +43,7 @@ int main(void) InitWindow(screenWidth, screenHeight, "raylib [textures] example - texture from raw data"); // Load RAW image data (512x512, 32bit RGBA, no file header) - Image fudesumiRaw = LoadImageRaw("resources/fudesumi.raw", 384, 512, UNCOMPRESSED_R8G8B8A8, 0); + Image fudesumiRaw = LoadImageRaw("resources/fudesumi.raw", 384, 512, PIXELFORMAT_UNCOMPRESSED_R8G8B8A8, 0); fudesumi = LoadTextureFromImage(fudesumiRaw); // Upload CPU (RAM) image to GPU (VRAM) UnloadImage(fudesumiRaw); // Unload CPU (RAM) image data @@ -68,7 +68,7 @@ int main(void) .data = pixels, // We can assign pixels directly to data .width = width, .height = height, - .format = UNCOMPRESSED_R8G8B8A8, + .format = PIXELFORMAT_UNCOMPRESSED_R8G8B8A8, .mipmaps = 1 }; -- cgit v1.2.3