Stefan Dösinger : wined3d: Fix WINED3DFMT_R3G3B2.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Aug 16 05:38:31 CDT 2007
Module: wine
Branch: master
Commit: 56a7486235968826a31ba2cf5a8dcb47580f5abe
URL: http://source.winehq.org/git/wine.git/?a=commit;h=56a7486235968826a31ba2cf5a8dcb47580f5abe
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Sat Aug 11 17:26:29 2007 +0200
wined3d: Fix WINED3DFMT_R3G3B2.
---
dlls/wined3d/utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 84af4ee..dfc1fc6 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -153,7 +153,7 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = {
{WINED3DFMT_X1R5G5B5 ,GL_RGB5_A1 ,GL_RGB5_A1 ,GL_BGRA ,GL_UNSIGNED_SHORT_1_5_5_5_REV },
{WINED3DFMT_A1R5G5B5 ,GL_RGB5_A1 ,GL_RGB5_A1 ,GL_BGRA ,GL_UNSIGNED_SHORT_1_5_5_5_REV },
{WINED3DFMT_A4R4G4B4 ,GL_RGBA4 ,GL_SRGB8_ALPHA8_EXT ,GL_BGRA ,GL_UNSIGNED_SHORT_4_4_4_4_REV },
- {WINED3DFMT_R3G3B2 ,GL_R3_G3_B2 ,GL_R3_G3_B2 ,GL_RGB ,GL_UNSIGNED_BYTE_2_3_3_REV },
+ {WINED3DFMT_R3G3B2 ,GL_R3_G3_B2 ,GL_R3_G3_B2 ,GL_RGB ,GL_UNSIGNED_BYTE_3_3_2 },
{WINED3DFMT_A8 ,GL_ALPHA8 ,GL_ALPHA8 ,GL_ALPHA ,GL_UNSIGNED_BYTE },
{WINED3DFMT_A8R3G3B2 ,0 ,0 ,0 ,0 },
{WINED3DFMT_X4R4G4B4 ,GL_RGB4 ,GL_RGB4 ,GL_BGRA ,GL_UNSIGNED_SHORT_4_4_4_4_REV },
More information about the wine-cvs
mailing list