Bug 548430 - NullPointerException in Image.internal_new_GC (4.12.0RC2)

Change-Id: I90bf1ad5b893b94f2a100760cf28e460ef02ed36
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
index 8c3dafd..e726a16 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
@@ -2184,7 +2184,7 @@
 			int height = 256;
 			NSBitmapImageRep rep = (NSBitmapImageRep) new NSBitmapImageRep().alloc();
 			rep = rep.initWithBitmapDataPlanes(0, width, height, 8, 3, false, false, OS.NSDeviceRGBColorSpace,
-					OS.NSAlphaFirstBitmapFormat | OS.NSAlphaNonpremultipliedBitmapFormat, width * 4, 32);
+					OS.NSAlphaFirstBitmapFormat, width * 4, 32);
 			graphicsContext = NSGraphicsContext.graphicsContextWithBitmapImageRep(rep);
 			rep.release();
 		}
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
index e7c57f0..50e4611 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
@@ -3197,7 +3197,7 @@
 		int height = 256;
 		NSBitmapImageRep rep = (NSBitmapImageRep) new NSBitmapImageRep().alloc();
 		rep = rep.initWithBitmapDataPlanes(0, width, height, 8, 3, false, false, OS.NSDeviceRGBColorSpace,
-				OS.NSAlphaFirstBitmapFormat | OS.NSAlphaNonpremultipliedBitmapFormat, width * 4, 32);
+				OS.NSAlphaFirstBitmapFormat, width * 4, 32);
 		context = NSGraphicsContext.graphicsContextWithBitmapImageRep(rep);
 		rep.release();
 	}