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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user