From ab47b0f15d34ef4d447ea8042b9d6a963ff5b6d7 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 3 Mar 2014 11:40:49 -0800 Subject: [PATCH] Search for proper name of AMD_performance_monitor. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The GL 4.4 spec says: A unique name string of the form ”GL_ARB_name” or ”GL_KHR_name” is associated with each extension. so we need the "GL_" prefix to properly find the extension. --- context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.c b/context.c index 6bc3e0a..3c58a60 100644 --- a/context.c +++ b/context.c @@ -51,7 +51,7 @@ context_create (fips_api_t api, void *system_context_id) fips_dispatch_init (api); - ctx->have_perfmon = check_extension ("AMD_performance_monitor"); + ctx->have_perfmon = check_extension ("GL_AMD_performance_monitor"); metrics_info_init (&ctx->metrics_info, ctx->have_perfmon); ctx->metrics = metrics_create (&ctx->metrics_info); -- 2.43.0