winex11: Don't trace a garbage value or read past end of caller's array in X11DRV_wglChoosePixelFormatARB().
This commit is contained in:
parent
bf61195574
commit
cf973bd28d
|
@ -2520,7 +2520,7 @@ static BOOL X11DRV_wglChoosePixelFormatARB( HDC hdc, const int *piAttribIList, c
|
|||
{
|
||||
piFormats[pfmt_it++] = i + 1;
|
||||
TRACE("at %d/%d found FBCONFIG_ID 0x%x (%d)\n",
|
||||
it + 1, nCfgs, fmt_id, piFormats[pfmt_it]);
|
||||
it + 1, nCfgs, fmt_id, i + 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue