Matteo Bruni : wined3d: Use 0 as GL internal format for WINED3DFMT_NULL.

Alexandre Julliard julliard at winehq.org
Thu Apr 11 13:32:20 CDT 2013


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

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Thu Apr 11 16:34:30 2013 +0200

wined3d: Use 0 as GL internal format for WINED3DFMT_NULL.

---

 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 d7cec9b..da8fc7b 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -925,7 +925,7 @@ static const struct wined3d_format_texture_info format_texture_info[] =
             WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING
             | WINED3DFMT_FLAG_DEPTH | WINED3DFMT_FLAG_STENCIL,
             ARB_FRAMEBUFFER_OBJECT,     NULL},
-    {WINED3DFMT_NULL,                   GL_RGBA8,                         GL_RGBA8,                               0,
+    {WINED3DFMT_NULL,                   0,                                0,                                      0,
             GL_RGBA,                    GL_UNSIGNED_INT_8_8_8_8_REV,      0,
             WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_RENDERTARGET,
             ARB_FRAMEBUFFER_OBJECT,     NULL},




More information about the wine-cvs mailing list