How to support dynamic array ? these code show a incorrect image.
Code:
//LMyArray: array[0..511, 0..511] of TIntColor; LMyArray:array of array of TIntColor; LMyTexture: TTexture; begin SetLength(LMyArray,512,512); ...... ...... LMyTexture.Update(@LMyArray[0, 0], 512 * SizeOf(TIntColor), 0, ZeroIntRect); end;

Comment