Changeset 28475 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/texture.c
- Timestamp:
- Apr 19, 2010 3:27:01 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/texture.c
r25949 r28475 444 444 { 445 445 const struct wined3d_gl_info *gl_info = &device->adapter->gl_info; 446 const struct GlPixelFormatDesc *format_desc = getFormatDescEntry(format, gl_info);446 const struct wined3d_format_desc *format_desc = getFormatDescEntry(format, gl_info); 447 447 UINT pow2_width, pow2_height; 448 448 UINT tmp_w, tmp_h; … … 580 580 hr = IWineD3DDeviceParent_CreateSurface(device->device_parent, parent, tmp_w, tmp_h, format_desc->format, 581 581 usage, pool, i, WINED3DCUBEMAP_FACE_POSITIVE_X, &texture->surfaces[i]); 582 if (FAILED(hr) || ((IWineD3DSurfaceImpl *)texture->surfaces[i])->Flags & SFLAG_OVERSIZE)582 if (FAILED(hr)) 583 583 { 584 584 FIXME("Failed to create surface %p, hr %#x\n", texture, hr);
Note:
See TracChangeset
for help on using the changeset viewer.