Closes #14923.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73278
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void * data;
long bytewidth;
GLint width, height;
void * data;
long bytewidth;
GLint width, height;
CGLContextObj glContextObj;
CGLPixelFormatObj pixelFormatObj ;
CGLContextObj glContextObj;
CGLPixelFormatObj pixelFormatObj ;
bytewidth = width * 4; // Assume 4 bytes/pixel for now
bytewidth = (bytewidth + 3) & ~3; // Align to 4 bytes
bytewidth = width * 4; // Assume 4 bytes/pixel for now
bytewidth = (bytewidth + 3) & ~3; // Align to 4 bytes
- bytes = bytewidth * height; // width * height
/* Build bitmap context */
data = malloc(height * bytewidth);
/* Build bitmap context */
data = malloc(height * bytewidth);