Dynamic array and OpenGL problem

Mikko Ronkainen mikoro at iki.fi
Sun Jan 13 15:40:21 PST 2008


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.


More information about the Digitalmars-d-learn mailing list