ITADN

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

#2Closedraysan5 创建于 2017-02-08
R
raysan5commented
*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: ```c 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](https://github.com/raysan5/raylib/blob/master/src/rlua.h#L1663) should be reviewed.
关闭于 2023-06-14 0 条评论