Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 569 of file device.c.
Referenced by device_clear_render_targets(), and drawPrimitive().
{ if (device->onscreen_depth_stencil) { surface_load_ds_location(device->onscreen_depth_stencil, context, SFLAG_INTEXTURE); surface_modify_ds_location(device->onscreen_depth_stencil, SFLAG_INTEXTURE, device->onscreen_depth_stencil->ds_current_size.cx, device->onscreen_depth_stencil->ds_current_size.cy); wined3d_surface_decref(device->onscreen_depth_stencil); } device->onscreen_depth_stencil = depth_stencil; wined3d_surface_incref(device->onscreen_depth_stencil); }