raylib-lua
raylib-lua copied to clipboard
Find a proper implementation (if exists) for big data arrays management
Moved issue from https://github.com/raysan5/raylib/issues/204
Some functions are not working properly because they need to manage big arrays of data. Involved functions are:
Image LoadImageEx(Color *pixels, int width, int height);
Color *GetImageData(Image image); // This one seems to work...
void UpdateTexture(Texture2D texture, void *pixels);
void UpdateAudioStream(AudioStream stream, void *data, int numSamples);
Wave LoadWaveEx(float *data, int sampleCount, int sampleRate, int sampleSize, int channels);
float *GetWaveData(Wave wave);
void UpdateSound(Sound sound, void *data, int numSamples);
Maybe GET_TABLE mechanism should be reviewed.