wined3d: Remove WINED3DFMT_R16G16B16A16_SNORM from the GL formats template.

Henri Verbeet hverbeet at codeweavers.com
Thu Jun 4 03:16:20 CDT 2009


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) {
-- 
1.6.0.6



--------------080403080506070804080008--



More information about the wine-patches mailing list