Changeset 48900 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Oct 4, 2013 8:07:33 PM (11 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Wine_new
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/device.c
r48345 r48900 1468 1468 wined3d_mutex_lock(); 1469 1469 hr = wined3d_device_set_render_target(device->wined3d_device, idx, 1470 surface_impl ? surface_impl->wined3d_surface : NULL, TRUE); 1470 surface_impl ? surface_impl->wined3d_surface : NULL, 1471 #ifdef VBOX_WITH_WDDM 1472 FALSE 1473 #else 1474 TRUE 1475 #endif 1476 ); 1471 1477 wined3d_mutex_unlock(); 1472 1478 -
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/device.c
r48896 r48900 4541 4541 } 4542 4542 4543 #ifdef VBOX_WITH_WDDM4544 /* @todo: should we extend this to XPDM as well?4545 * MSDN says that setting a *new* render target causes the viewport update to full size of the rt.*/4546 prev = device->fb.render_targets[render_target_idx];4547 if (render_target == prev)4548 return WINED3D_OK;4549 #endif4550 4551 4543 /* Set the viewport and scissor rectangles, if requested. Tests show that 4552 4544 * stateblock recording is ignored, the change goes directly into the … … 4571 4563 } 4572 4564 4573 #ifndef VBOX_WITH_WDDM 4565 4574 4566 prev = device->fb.render_targets[render_target_idx]; 4575 4567 if (render_target == prev) 4576 4568 return WINED3D_OK; 4577 #endif4578 4569 4579 4570 if (render_target)
Note:
See TracChangeset
for help on using the changeset viewer.