2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Fixing more examples

- Changed a few parts to use IntPtr for now.
This commit is contained in:
2018-10-25 18:20:13 +01:00
parent 67d5628fe3
commit 26cd2c6337
6 changed files with 22 additions and 25 deletions

View File

@ -17,8 +17,8 @@ public partial class textures_image_processing
*
********************************************************************************************/
public const int NUM_PROCESSES = 8;
enum ImageProcess
@ -107,7 +107,7 @@ public partial class textures_image_processing
default: break;
}
Color[] pixels = GetImageData(image); // Get pixel data from image (RGBA 32bit)
var pixels = GetImageData(image); // Get pixel data from image (RGBA 32bit)
UpdateTexture(texture, pixels); // Update texture with new image data
// free(pixels); // Unload pixels data from RAM