mesa/multisample: Check sample count using the new driver hook
authorEduardo Lima Mitev <elima@igalia.com>
Tue, 24 Nov 2015 21:32:00 +0000 (22:32 +0100)
committerEduardo Lima Mitev <elima@igalia.com>
Thu, 3 Mar 2016 14:14:05 +0000 (15:14 +0100)
commit1f0b2ce8ec139cfb54db014949db0345461aff94
tree2f3edfd20f73246c961aa5a86a4d4a6d6441c5ef
parentee31b0b1d0f9394f1a41f71c0bf743a59ba7947d
mesa/multisample: Check sample count using the new driver hook

Use QueryInternalFormat instead of QuerySamplesForFormat to obtain the
highest supported sample. QuerySamplesForFormat is to be removed.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/multisample.c