Changeset 42971 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/device.c
- Timestamp:
- Aug 24, 2012 11:19:31 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/device.c
r42516 r42971 1958 1958 } 1959 1959 1960 if (This->swapchains) 1961 { 1960 1962 HeapFree(GetProcessHeap(), 0, This->swapchains); 1961 1963 This->swapchains = NULL; 1962 1964 This->NumberOfSwapChains = 0; 1965 } 1966 else 1967 { 1968 Assert(!This->NumberOfSwapChains); 1969 } 1963 1970 1964 1971 for (i = 0; i < This->NumberOfPalettes; i++) HeapFree(GetProcessHeap(), 0, This->palettes[i]); … … 7005 7012 IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *) iface; 7006 7013 int i; 7014 IWineD3DSwapChain **pvOldBuf = This->swapchains; 7015 7007 7016 for (i = 0; i < This->NumberOfSwapChains; ++i) 7008 7017 { … … 7042 7051 context_destroy(This, This->contexts[0]); 7043 7052 } 7044 } 7053 This->swapchains = NULL; 7054 } 7055 7056 if (pvOldBuf) 7057 HeapFree(GetProcessHeap(), 0, pvOldBuf); 7058 7045 7059 return WINED3D_OK; 7046 7060 }
Note:
See TracChangeset
for help on using the changeset viewer.