aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formatquery.c
diff options
context:
space:
mode:
authorEduardo Lima Mitev <[email protected]>2015-12-16 18:11:36 +0100
committerEduardo Lima Mitev <[email protected]>2016-03-03 15:14:05 +0100
commita347a0f53fbdd9b607d7eae4a483e62f82c68cb1 (patch)
tree41b71e690373ec4c6e121e0a0331c4bc5e883e4e /src/mesa/main/formatquery.c
parent993d7345b7c356d96f3d24865d83ff368bc6fc55 (diff)
mesa: Completely remove QuerySamplesForFormat from driver func table
At this point, all uses have been replaced by the more general hook QueryInternalFormat, introduced by ARB_internalformat_query2. Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/formatquery.c')
-rw-r--r--src/mesa/main/formatquery.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/main/formatquery.c b/src/mesa/main/formatquery.c
index 21d10a8e79c..a7f053e3c94 100644
--- a/src/mesa/main/formatquery.c
+++ b/src/mesa/main/formatquery.c
@@ -29,20 +29,6 @@
#include "fbobject.h"
#include "formatquery.h"
-/* default implementation of QuerySamplesForFormat driverfunc, for
- * non-multisample-capable drivers. */
-size_t
-_mesa_query_samples_for_format(struct gl_context *ctx, GLenum target,
- GLenum internalFormat, int samples[16])
-{
- (void) target;
- (void) internalFormat;
- (void) ctx;
-
- samples[0] = 1;
- return 1;
-}
-
/* default implementation of QueryInternalFormat driverfunc, for
* drivers not implementing ARB_internalformat_query2.
*/