i915g: Activate trace
authorJakob Bornecrantz <wallbraker@gmail.com>
Tue, 22 Sep 2009 18:00:58 +0000 (11:00 -0700)
committerJakob Bornecrantz <wallbraker@gmail.com>
Tue, 22 Sep 2009 18:06:57 +0000 (11:06 -0700)
src/gallium/winsys/drm/intel/gem/intel_drm_api.c

index 4c5a1d2ea89027eb010fc7b071d818136237a09b..0fd5cdd96972870fcd28c3b990696060bbf015a5 100644 (file)
@@ -7,6 +7,7 @@
 #include "i915simple/i915_context.h"
 #include "i915simple/i915_screen.h"
 
+#include "trace/tr_drm.h"
 
 /*
  * Helper functions
@@ -198,5 +199,5 @@ struct drm_api intel_drm_api =
 struct drm_api *
 drm_api_create()
 {
-   return &intel_drm_api;
+   return trace_drm_create(&intel_drm_api);
 }