wined3d: cfg can never be NULL in wined3d_check_pixel_format_color().

This commit is contained in:
Henri Verbeet 2011-06-07 19:44:48 +02:00 committed by Alexandre Julliard
parent c24c2d1eac
commit da125e6bca
1 changed files with 0 additions and 3 deletions

View File

@ -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;