- Timestamp:
- Jul 4, 2011 12:14:22 PM (13 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface_base.c
r33656 r37760 1154 1154 if (Src == This) 1155 1155 { 1156 IWineD3DSurface_LockRect(iface, &dlock, NULL, 0); 1156 ret = IWineD3DSurface_LockRect(iface, &dlock, NULL, 0); 1157 if (FAILED(ret)) 1158 { 1159 goto error; 1160 } 1157 1161 slock = dlock; 1158 1162 sEntry = This->resource.format_desc; … … 1173 1177 } 1174 1178 } 1175 IWineD3DSurface_LockRect((IWineD3DSurface *) Src, &slock, NULL, WINED3DLOCK_READONLY); 1179 ret = IWineD3DSurface_LockRect((IWineD3DSurface *) Src, &slock, NULL, WINED3DLOCK_READONLY); 1180 if (FAILED(ret)) 1181 { 1182 goto error; 1183 } 1176 1184 sEntry = Src->resource.format_desc; 1177 1185 } … … 1180 1188 sEntry = dEntry; 1181 1189 } 1190 1182 1191 if (DestRect) 1183 IWineD3DSurface_LockRect(iface, &dlock, &xdst, 0);1192 ret = IWineD3DSurface_LockRect(iface, &dlock, &xdst, 0); 1184 1193 else 1185 IWineD3DSurface_LockRect(iface, &dlock, NULL, 0); 1194 ret = IWineD3DSurface_LockRect(iface, &dlock, NULL, 0); 1195 1196 if (FAILED(ret)) 1197 { 1198 goto error; 1199 } 1186 1200 } 1187 1201 … … 1886 1900 This, pRect, Flags, pLockedRect, This->resource.allocatedMemory); 1887 1901 1902 if (!This->resource.allocatedMemory) 1903 { 1904 ERR("Can't LockRect, This->resource.allocatedMemory is NULL\n"); 1905 return WINED3DERR_NOTAVAILABLE; 1906 } 1907 1888 1908 pLockedRect->Pitch = IWineD3DSurface_GetPitch(iface); 1889 1909 -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c
r35845 r37760 369 369 crNetRecv(); 370 370 } 371 } 372 373 void PACKSPU_APIENTRY packspu_ChromiumParameteriCR(GLenum target, GLint value) 374 { 375 if (GL_SHARE_CONTEXT_RESOURCES_CR==target) 376 { 377 crStateShareContext(value); 378 } 379 crPackChromiumParameteriCR(target, value); 371 380 } 372 381 -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_special
r33988 r37760 107 107 VBoxPackAttachThread 108 108 VBoxPackDetachThread 109 ChromiumParameteriCR
Note:
See TracChangeset
for help on using the changeset viewer.