mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Fixed a bug in the FrameBuffer => Texture blits.
This commit is contained in:
parent
97140ba2d1
commit
f683839c13
@ -264,7 +264,7 @@ gltex_bltfast(IDirectDrawSurfaceImpl *surf_ptr, DWORD dstx,
|
||||
return DDERR_INVALIDPARAMS;
|
||||
}
|
||||
|
||||
for (y = src_ptr->surface_desc.dwHeight - rsrc->top;
|
||||
for (y = (src_ptr->surface_desc.dwHeight - rsrc->top - 1);
|
||||
y >= (src_ptr->surface_desc.dwHeight - (rsrc->top + height));
|
||||
y--) {
|
||||
glCopyTexSubImage2D(GL_TEXTURE_2D, surf_ptr->mipmap_level,
|
||||
|
Loading…
Reference in New Issue
Block a user