Module: website
Branch: master
Commit: 6f24523983ec47213417e05c35c9870e622cb66d
URL: http://source.winehq.org/git/website.git/?a=commit;h=6f24523983ec47213417e0…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Fri Nov 30 18:50:28 2007 +0100
Wine release 0.9.50
---
include/winehq.conf | 2 +-
news/2007113001.xml | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/include/winehq.conf b/include/winehq.conf
index 9e9d477..dc762fb 100644
--- a/include/winehq.conf
+++ b/include/winehq.conf
@@ -29,7 +29,7 @@ news_xml_path: news
wwn_xml_path: wwn
# Snapshot Date
-snapshot_date: 0.9.49
+snapshot_date: 0.9.50
# Current RH Packages Snapshot Date
snapshot_date_rh: 0.9.2
diff --git a/news/2007113001.xml b/news/2007113001.xml
new file mode 100644
index 0000000..33dba44
--- /dev/null
+++ b/news/2007113001.xml
@@ -0,0 +1,24 @@
+<news>
+<date>November 30, 2007</date>
+<title>Wine 0.9.50 Released</title>
+<body>
+<p>Wine 0.9.50 was released today, with the following main changes:</p>
+
+<ul>
+<li>Completed I/O completion.</li>
+<li>Improved user credentials management, including Mac Keychain support.</li>
+<li>More Valgrinding.</li>
+<li>Lots of bug fixes.</li>
+</ul>
+
+<p>
+Binary packages are in the process of being built and it may take a
+few days for them to appear, but the source is
+<a href="http://prdownloads.sourceforge.net/wine/wine-0.9.50.tar.bz2">available now</a>.
+You can find out more about this release in the
+<a href="?announce=0.9.50">announcement</a>. Check out our
+<a href="/site/download">download page</a> for packages for your
+distribution.
+</p>
+</body>
+</news>
Module: wine
Branch: master
Commit: 94cd8c276a1b68ab633def843afa1f487f5358c4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=94cd8c276a1b68ab633def843…
Author: Stefan Dösinger <stefan(a)codeweavers.com>
Date: Wed Nov 28 21:26:31 2007 +0100
wined3d: Remove the X channel fixup in render target unlocking.
---
dlls/wined3d/surface.c | 59 +++++++----------------------------------------
1 files changed, 9 insertions(+), 50 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 2030f95..0ff1bc7 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1002,64 +1002,23 @@ static void flush_to_framebuffer_drawpixels(IWineD3DSurfaceImpl *This) {
case WINED3DFMT_R5G6B5:
case WINED3DFMT_A1R5G5B5:
case WINED3DFMT_R8G8B8:
- type = This->glDescription.glType;
- fmt = This->glDescription.glFormat;
- mem = This->resource.allocatedMemory;
- bpp = This->bytesPerPixel;
- break;
-
case WINED3DFMT_X4R4G4B4:
- {
- int size;
- unsigned short *data;
- data = (unsigned short *)This->resource.allocatedMemory;
- size = (This->lockedRect.bottom - This->lockedRect.top) * (This->lockedRect.right - This->lockedRect.left);
- while(size > 0) {
- *data |= 0xF000;
- data++;
- size--;
- }
- type = This->glDescription.glType;
- fmt = This->glDescription.glFormat;
- mem = This->resource.allocatedMemory;
- bpp = This->bytesPerPixel;
- }
- break;
-
case WINED3DFMT_X1R5G5B5:
- {
- int size;
- unsigned short *data;
- data = (unsigned short *)This->resource.allocatedMemory;
- size = (This->lockedRect.bottom - This->lockedRect.top) * (This->lockedRect.right - This->lockedRect.left);
- while(size > 0) {
- *data |= 0x8000;
- data++;
- size--;
- }
type = This->glDescription.glType;
fmt = This->glDescription.glFormat;
mem = This->resource.allocatedMemory;
bpp = This->bytesPerPixel;
- }
- break;
+ break;
+ /* In the past times we used to set the X channel of X8R8G8B8 and the above formats to
+ * 1.0 because it happened to fix the intro movie in Pirates. However, this seems wrong.
+ * If the game uses an X8R8G8B8 back buffer the GL alpha channel should not make any differences,
+ * and the bug must be somewhere else. If we really have to set the alpha channel to 1.0 in
+ * this case do it by clearing it after the draw instead of fixing it up in the CPU. Blending
+ * is disabled via CTXUSAGE_BLIT context setup, so in the glDrawPixels call it does not
+ * have any effects
+ */
case WINED3DFMT_X8R8G8B8:
- {
- /* make sure the X byte is set to alpha on, since it
- could be any random value. This fixes the intro movie in Pirates! */
- int size;
- unsigned int *data;
- data = (unsigned int *)This->resource.allocatedMemory;
- size = (This->lockedRect.bottom - This->lockedRect.top) * (This->lockedRect.right - This->lockedRect.left);
- while(size > 0) {
- *data |= 0xFF000000;
- data++;
- size--;
- }
- }
- /* Fall through */
-
case WINED3DFMT_A8R8G8B8:
{
glPixelStorei(GL_PACK_SWAP_BYTES, TRUE);