main: Use _mesa_geometric_samples to calculate GL_SAMPLE_BUFFERS
authorNeil Roberts <neil@linux.intel.com>
Thu, 4 Feb 2016 16:12:05 +0000 (16:12 +0000)
committerNeil Roberts <neil@linux.intel.com>
Fri, 5 Feb 2016 11:05:01 +0000 (11:05 +0000)
commit4995d9c9a028876550e3da7ff24045f8bec2dcf6
treed8bf87f7aa6affd3134217c8fd38115311a871a0
parentd8d4661ddb2ecef33721fbca2a9bb7bd1d84b7cf
main: Use _mesa_geometric_samples to calculate GL_SAMPLE_BUFFERS

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