Index: /trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
===================================================================
--- /trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp	(revision 42540)
+++ /trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp	(revision 42541)
@@ -4733,5 +4733,11 @@
 # endif
                     pDevExt->fRenderToShadowDisabled
-                    || (pAllocation && pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC)
+                    /* only update for UMD_RC_GENERIC when resolution changes to inform host about it
+                     * otherwise keep host using the same VRAM, containing a valid data before the switch (i.e. SHADOW) */
+                    || (pAllocation
+                            && pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC
+                            && (pAllocation->AllocData.SurfDesc.width != pSource->AllocData.SurfDesc.width
+                                    || pAllocation->AllocData.SurfDesc.height != pSource->AllocData.SurfDesc.height)
+                            )
                     )
 #endif
@@ -4790,5 +4796,11 @@
 # endif
                         pDevExt->fRenderToShadowDisabled
-                        || (pAllocation && pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC)
+                        /* only update for UMD_RC_GENERIC when resolution changes to inform host about it
+                         * otherwise keep host using the same VRAM, containing a valid data before the switch (i.e. SHADOW) */
+                        || (pAllocation
+                                && pAllocation->enmType == VBOXWDDM_ALLOC_TYPE_UMD_RC_GENERIC
+                                && (pAllocation->AllocData.SurfDesc.width != pSource->AllocData.SurfDesc.width
+                                        || pAllocation->AllocData.SurfDesc.height != pSource->AllocData.SurfDesc.height)
+                                )
                         )
 #endif
