Changeset 38230 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jul 28, 2011 5:42:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/surface.c
r38218 r38230 4102 4102 } 4103 4103 4104 if ((Src->Flags & SFLAG_PBO) && src_rect.right - src_rect.left != Src->currentDesc.Width) 4105 { 4106 WARN("Chromium does not support nondefault unpack row length for PBO\n"); 4107 return WINED3DERR_INVALIDCALL; 4108 } 4109 4110 if((convert != NO_CONVERSION) && (Src->Flags & SFLAG_PBO)) { 4111 WARN("conversion not supported here with PBO for src %p\n", Src); 4112 return WINED3DERR_INVALIDCALL; 4113 } 4114 4104 4115 d3dfmt_get_conv(Src, TRUE /* We need color keying */, TRUE /* We will use textures */, 4105 4116 &desc, &convert); … … 4124 4135 srcWidth = Src->currentDesc.Width; 4125 4136 srcPitch = IWineD3DSurface_GetPitch(SrcSurface); 4126 4127 /* Don't use PBOs for converted surfaces. During PBO conversion we look at SFLAG_CONVERTED4128 * but it isn't set (yet) in all cases it is getting called. */4129 if((convert != NO_CONVERSION) && (Src->Flags & SFLAG_PBO)) {4130 TRACE("Removing the pbo attached to surface %p\n", Src);4131 surface_remove_pbo(Src, gl_info);4132 }4133 4137 4134 4138 if(desc.convert) {
Note:
See TracChangeset
for help on using the changeset viewer.