Changeset 52200 in vbox for trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
- Timestamp:
- Jul 25, 2014 8:00:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
r52122 r52200 341 341 if (!pixelFormat) 342 342 return E_POINTER; 343 *pixelFormat = FramebufferPixelFormat_FOURCC_RGB;343 *pixelFormat = BitmapFormat_BGR; 344 344 return S_OK; 345 345 } … … 1446 1446 if (!pixelFormat) 1447 1447 return E_INVALIDARG; 1448 *pixelFormat = FramebufferPixelFormat_FOURCC_RGB;1448 *pixelFormat = BitmapFormat_BGR; 1449 1449 return S_OK; 1450 1450 } … … 1576 1576 * 1577 1577 * @returns COM status code 1578 * @param pixelFormat Must be FramebufferPixelFormat_PixelFormatRGB32.1578 * @param pixelFormat Must be BitmapFormat_BGR. 1579 1579 * @param vram Must be NULL. 1580 1580 * @param lineSize Ignored. … … 1587 1587 ULONG w, ULONG h, BOOL *finished) 1588 1588 { 1589 AssertReturn(pixelFormat == FramebufferPixelFormat_FOURCC_RGB, E_INVALIDARG);1589 AssertReturn(pixelFormat == BitmapFormat_BGR, E_INVALIDARG); 1590 1590 AssertReturn(vram == 0, E_INVALIDARG); 1591 1591 AssertReturn(bitsPerPixel == 32, E_INVALIDARG);
Note:
See TracChangeset
for help on using the changeset viewer.