Bill Baxter Wrote: > Just make a 1D array and compute the size yourself. > > ubyte[] framebuffer = new ubyte[3*width*height]; > Thanks! That didn't come to my mind :) Now it works very well.