Changeset 54828 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 18, 2015 11:43:37 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 99030
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp
r54805 r54828 181 181 STDMETHOD(COMGETTER(BitsPerPixel))(ULONG *puBitsPerPixel); 182 182 STDMETHOD(COMGETTER(BytesPerLine))(ULONG *puBytesPerLine); 183 STDMETHOD(COMGETTER(PixelFormat))( ULONG*puPixelFormat);183 STDMETHOD(COMGETTER(PixelFormat))(BitmapFormat_T *puPixelFormat); 184 184 STDMETHOD(COMGETTER(HeightReduction))(ULONG *puHeightReduction); 185 185 STDMETHOD(COMGETTER(Overlay))(IFramebufferOverlay **ppOverlay); … … 658 658 } 659 659 660 STDMETHODIMP UIFrameBufferPrivate::COMGETTER(PixelFormat)( ULONG*puPixelFormat)660 STDMETHODIMP UIFrameBufferPrivate::COMGETTER(PixelFormat)(BitmapFormat_T *puPixelFormat) 661 661 { 662 662 if (!puPixelFormat) 663 663 return E_POINTER; 664 *puPixelFormat = pixelFormat();664 *puPixelFormat = (BitmapFormat_T)pixelFormat(); 665 665 return S_OK; 666 666 } … … 1181 1181 ULONG ulBitsPerPixel = 0; 1182 1182 ULONG ulBytesPerLine = 0; 1183 ULONG ulPixelFormat = 0;1183 KBitmapFormat bitmapFormat = KBitmapFormat_Opaque; 1184 1184 m_sourceBitmap.QueryBitmapInfo(pAddress, 1185 1185 ulWidth, … … 1187 1187 ulBitsPerPixel, 1188 1188 ulBytesPerLine, 1189 ulPixelFormat);1189 bitmapFormat); 1190 1190 Assert(ulBitsPerPixel == 32); 1191 1191
Note:
See TracChangeset
for help on using the changeset viewer.