loader: Fix icd reference in WSI code
authorMark Young <marky@lunarg.com>
Wed, 2 Nov 2016 15:37:08 +0000 (09:37 -0600)
committerMark Young <marky@lunarg.com>
Wed, 2 Nov 2016 16:13:02 +0000 (10:13 -0600)
commit0b0aa7dceb41e17778445938e5224c21988fa143
treed3945fa83022c183fba32119a41f934abe307326
parentd147a5463f8581604ca542aa1a44a27e512e0f60
loader: Fix icd reference in WSI code

Piers Daniell (Nvidia) found a nasty bug where the loader code
was incorrectly incrementing through the ICDs as if the list was
an array.  This may fix some multi-GPU issues he has found.

Change-Id: I42dd4a153c3226ac36b82f4cda8ad21bea8b2f66
loader/loader.c
loader/wsi.c