Henri Verbeet : wined3d: Remove WINED3DFMT_R16G16B16A16_SNORM from the GL formats template.

Alexandre Julliard julliard at winehq.org
Thu Jun 4 07:59:34 CDT 2009


Module: wine
Branch: master
Commit: faaea935737ebff7b2dae3843b24f36c304940b8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=faaea935737ebff7b2dae3843b24f36c304940b8

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Jun  4 10:16:20 2009 +0200

wined3d: Remove WINED3DFMT_R16G16B16A16_SNORM from the GL formats template.

This entry obviously can't work correctly.

---

 dlls/wined3d/utils.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 4802a7c..e152337 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -343,9 +343,6 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = {
     {WINED3DFMT_D24FS8,             GL_DEPTH_COMPONENT24_ARB,         GL_DEPTH_COMPONENT24_ARB,               0,
             GL_DEPTH_COMPONENT,     GL_FLOAT,
             WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL},
-    {WINED3DFMT_R16G16B16A16_SNORM, GL_COLOR_INDEX,                   GL_COLOR_INDEX,                         0,
-            GL_COLOR_INDEX,         GL_UNSIGNED_SHORT,
-            0},
 };
 
 static inline int getFmtIdx(WINED3DFORMAT fmt) {




More information about the wine-cvs mailing list