Module: wine Branch: master Commit: da125e6bca589f40cf368fddd3e42ebdb2d3f83f URL: http://source.winehq.org/git/wine.git/?a=commit;h=da125e6bca589f40cf368fddd3...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Jun 7 19:44:48 2011 +0200
wined3d: cfg can never be NULL in wined3d_check_pixel_format_color().
---
dlls/wined3d/directx.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 09c4de1..502b5d7 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -2936,9 +2936,6 @@ static BOOL wined3d_check_pixel_format_color(const struct wined3d_gl_info *gl_in { BYTE redSize, greenSize, blueSize, alphaSize, colorBits;
- if(!cfg) - return FALSE; - /* Float formats need FBOs. If FBOs are used this function isn't called */ if (format->flags & WINED3DFMT_FLAG_FLOAT) return FALSE;