Changeset 45743 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 25, 2013 8:18:22 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85301
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r45740 r45743 1036 1036 /* If VBVA is not in use then this flag will not be set and this 1037 1037 * will still work as it should. */ 1038 if (! (maFramebuffers[0].fDisabled))1038 if (!maFramebuffers[0].fDisabled) 1039 1039 { 1040 1040 x1 = (int32_t)maFramebuffers[0].xOrigin; … … 1045 1045 for (unsigned i = 1; i < mcMonitors; ++i) 1046 1046 { 1047 if (! (maFramebuffers[i].fDisabled))1047 if (!maFramebuffers[i].fDisabled) 1048 1048 { 1049 1049 x1 = RT_MIN(x1, maFramebuffers[i].xOrigin); … … 2680 2680 */ 2681 2681 if ( pFBInfo->fDefaultFormat 2682 && ! (pFBInfo->fDisabled))2682 && !pFBInfo->fDisabled) 2683 2683 { 2684 2684 address = NULL; … … 2809 2809 { 2810 2810 if ( !pFBInfo->pFramebuffer.isNull() 2811 && ! (pFBInfo->fDisabled)2811 && !pFBInfo->fDisabled 2812 2812 && pFBInfo->u32ResizeStatus == ResizeStatus_Void) 2813 2813 { … … 3315 3315 3316 3316 #ifdef VBOX_WITH_VPX 3317 if (VideoRecIsEnabled(pDisplay->mpVideoRecContext)) 3317 if ( pDisplay->mpVideoRecContext 3318 && VideoRecIsEnabled(pDisplay->mpVideoRecContext)) 3318 3319 { 3319 3320 uint32_t u32VideoRecImgFormat = VPX_IMG_FMT_NONE; … … 3324 3325 DISPLAYFBINFO *pFBInfo = &pDisplay->maFramebuffers[VBOX_VIDEO_PRIMARY_SCREEN]; 3325 3326 3326 if ( 3327 && ! (pFBInfo->fDisabled)3327 if ( !pFBInfo->pFramebuffer.isNull() 3328 && !pFBInfo->fDisabled 3328 3329 && pFBInfo->u32ResizeStatus == ResizeStatus_Void) 3329 3330 { … … 3911 3912 } 3912 3913 else if ( !pFBInfo->pFramebuffer.isNull() 3913 && ! (pFBInfo->fDisabled))3914 && !pFBInfo->fDisabled) 3914 3915 { 3915 3916 /* Render VRAM content to the framebuffer. */
Note:
See TracChangeset
for help on using the changeset viewer.