[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-patches
Subject: [D3D] Small texturing fix
From: Lionel Ulmer <lionel.ulmer () free ! fr>
Date: 2003-05-30 18:20:04
[Download RAW message or body]
Changelog:
- fixed a bug in the FrameBuffer => Texture blits
--
Lionel Ulmer - http://www.bbrox.org/
--- dlls/ddraw_CVS/d3dtexture.c 2003-05-30 15:15:00.000000000 +0200
+++ dlls/ddraw/d3dtexture.c 2003-05-30 18:02:37.000000000 +0200
@@ -264,7 +264,7 @@
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,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic