Changeset 470 in vbox for trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
- Timestamp:
- Jan 31, 2007 4:14:04 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18068
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
r143 r470 258 258 * @param address Pointer to result variable. 259 259 */ 260 STDMETHODIMP VBoxSDLFB::COMGETTER(Address)( ULONG*address)260 STDMETHODIMP VBoxSDLFB::COMGETTER(Address)(BYTE **address) 261 261 { 262 262 LogFlow(("VBoxSDLFB::GetAddress\n")); … … 266 266 if (mSurfVRAM) 267 267 { 268 *address = ( uintptr_t)mSurfVRAM->pixels;268 *address = (BYTE *) mSurfVRAM->pixels; 269 269 } 270 270 else … … 424 424 * continuing with display updates. 425 425 */ 426 STDMETHODIMP VBoxSDLFB::RequestResize(FramebufferPixelFormat_T pixelFormat, ULONG vram, ULONG lineSize, ULONG w, ULONG h,427 BOOL *finished)426 STDMETHODIMP VBoxSDLFB::RequestResize(FramebufferPixelFormat_T pixelFormat, BYTE *vram, 427 ULONG lineSize, ULONG w, ULONG h, BOOL *finished) 428 428 { 429 429 LogFlow(("VBoxSDLFB::RequestResize: w = %d, h = %d, pixelFormat: %d, vram = %p, lineSize = %d\n", … … 443 443 mGuestYRes = h; 444 444 mPixelFormat = pixelFormat; 445 mPtrVRAM = (void *)vram;445 mPtrVRAM = vram; 446 446 mLineSize = lineSize; 447 447
Note:
See TracChangeset
for help on using the changeset viewer.