raylib-lua icon indicating copy to clipboard operation
raylib-lua copied to clipboard

Find a proper implementation (if exists) for big data arrays management

Open raysan5 opened this issue 8 years ago • 0 comments

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.

raysan5 avatar Feb 08 '17 19:02 raysan5