Commit da125e6b authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent c24c2d1e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment