No changes, just remove an unused variable.

Closes #14923.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-12-28 00:43:53 +00:00
parent 234aeaafa3
commit 1d59015da1

View File

@ -115,7 +115,6 @@ CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect)
void * data;
long bytewidth;
GLint width, height;
long bytes;
CGLContextObj glContextObj;
CGLPixelFormatObj pixelFormatObj ;
@ -157,7 +156,6 @@ CGImageRef grabViaOpenGL(CGDirectDisplayID display, CGRect srcRect)
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);