- Timestamp:
- Sep 20, 2013 4:15:25 PM (11 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Wine_new
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/Makefile.kmk
r48155 r48611 174 174 VBOX_WITH_WINE_FIX_STRINFOBUF \ 175 175 VBOX_WITH_WINE_FIX_SHADERCLEANUP \ 176 VBOX_WITH_WINE_FIX_SURFUPDATA \ 176 177 VBOX_WITH_WINE_DBG 177 178 #wined3d_DEFS += VBOX_WITH_WINE_FIXES -
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/surface.c
r48345 r48611 2633 2633 update_w, update_h, format->glFormat, format->glType, addr); 2634 2634 2635 #ifdef VBOX_WITH_WINE_FIX_SURFUPDATA 2636 gl_info->gl_ops.gl.p_glPixelStorei(GL_UNPACK_ALIGNMENT, 1); 2637 #endif 2635 2638 gl_info->gl_ops.gl.p_glPixelStorei(GL_UNPACK_ROW_LENGTH, src_pitch / format->byte_count); 2636 2639 gl_info->gl_ops.gl.p_glTexSubImage2D(surface->texture_target, surface->texture_level, 2637 2640 dst_point->x, dst_point->y, update_w, update_h, format->glFormat, format->glType, addr); 2638 2641 gl_info->gl_ops.gl.p_glPixelStorei(GL_UNPACK_ROW_LENGTH, 0); 2642 #ifdef VBOX_WITH_WINE_FIX_SURFUPDATA 2643 gl_info->gl_ops.gl.p_glPixelStorei(GL_UNPACK_ALIGNMENT, surface->resource.device->surface_alignment); 2644 #endif 2639 2645 checkGLcall("glTexSubImage2D"); 2640 2646 }
Note:
See TracChangeset
for help on using the changeset viewer.