Module: wine Branch: master Commit: 991e47e3c9f1a774d6e0f9e0c30343650e8ac132 URL: http://source.winehq.org/git/wine.git/?a=commit;h=991e47e3c9f1a774d6e0f9e0c3...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Sep 25 09:58:11 2013 +0200
wined3d: Allow WINED3DFMT_R8G8B8A8_UNORM render targets.
---
dlls/wined3d/utils.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 920a2fc..ccb3da6 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -792,7 +792,8 @@ static const struct wined3d_format_texture_info format_texture_info[] = WINED3D_GL_EXT_NONE, NULL}, {WINED3DFMT_R8G8B8A8_UNORM, GL_RGBA8, GL_RGBA8, 0, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV, 0, - WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING, + WINED3DFMT_FLAG_TEXTURE | WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING | WINED3DFMT_FLAG_FILTERING + | WINED3DFMT_FLAG_RENDERTARGET, WINED3D_GL_EXT_NONE, NULL}, {WINED3DFMT_R8G8B8X8_UNORM, GL_RGB8, GL_RGB8, 0, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV, 0,