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

This commit is contained in:
Henri Verbeet 2011-06-07 11:06:28 +02:00 committed by Alexandre Julliard
parent fec6137de2
commit be180bed7c
1 changed files with 0 additions and 3 deletions

View File

@ -2974,9 +2974,6 @@ static BOOL wined3d_check_pixel_format_depth(const struct wined3d_gl_info *gl_in
BYTE depthSize, stencilSize;
BOOL lockable = FALSE;
if(!cfg)
return FALSE;
if (!getDepthStencilBits(format, &depthSize, &stencilSize))
{
ERR("Unable to check compatibility for format %s.\n", debug_d3dformat(format->id));