main: Use _mesa_geometric_samples to calculate the value of GL_SAMPLES
authorNeil Roberts <neil@linux.intel.com>
Thu, 4 Feb 2016 16:12:04 +0000 (16:12 +0000)
committerNeil Roberts <neil@linux.intel.com>
Fri, 5 Feb 2016 11:04:44 +0000 (11:04 +0000)
commitd8d4661ddb2ecef33721fbca2a9bb7bd1d84b7cf
tree3b5f1aac3962ce1f871cdf694e61a446241cfd8a
parent2065e380b2edafd6e38aa5bb0ff222dc1f6f5ad8
main: Use _mesa_geometric_samples to calculate the value of GL_SAMPLES

Otherwise it won't take into account the default samples for
framebuffers with no attachments.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/get.c
src/mesa/main/get_hash_params.py