[WIN32K:NTGDI]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 22 Oct 2015 11:29:55 +0000 (11:29 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 22 Oct 2015 11:29:55 +0000 (11:29 +0000)
- Correctly pass 'planes' and 'bpp' arguments to IntCreateDIBitmap in GreCreateDIBitmapInternal. CID 1250302

svn path=/trunk/; revision=69642

reactos/win32ss/gdi/ntgdi/dibobj.c

index a2b9362..06671c5 100644 (file)
@@ -1529,7 +1529,7 @@ GreCreateDIBitmapInternal(
         planes = 0;
         compression = 0;
     }
-    Bmp = IntCreateDIBitmap(Dc, cx, cy, bpp, planes, compression, fInit, pjInit, pbmi, iUsage);
+    Bmp = IntCreateDIBitmap(Dc, cx, cy, planes, bpp, compression, fInit, pjInit, pbmi, iUsage);
     DC_UnlockDc(Dc);
 
     if(!hDc)