Changeset 25016 in vbox for trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
- Timestamp:
- Nov 26, 2009 3:29:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r24981 r25016 780 780 } 781 781 #endif /* defined(VBOX_FFMPEG) */ 782 VRDPFramebuffer *p Framebuffer = new VRDPFramebuffer ();783 if (!p Framebuffer)782 VRDPFramebuffer *pVRDPFramebuffer = new VRDPFramebuffer (); 783 if (!pVRDPFramebuffer) 784 784 { 785 785 RTPrintf("Error: could not create framebuffer object %d\n", uScreenId); 786 786 return -1; 787 787 } 788 p Framebuffer->AddRef();789 display->SetFramebuffer(uScreenId, p Framebuffer);788 pVRDPFramebuffer->AddRef(); 789 display->SetFramebuffer(uScreenId, pVRDPFramebuffer); 790 790 } 791 791 #endif
Note:
See TracChangeset
for help on using the changeset viewer.