r300g: Readd trace driver support

This commit is contained in:
Jakob Bornecrantz 2009-07-02 15:05:51 +02:00
parent 59abfa8e42
commit d1c8a0a308

View file

@ -29,6 +29,7 @@
*/
#include "radeon_drm.h"
#include "trace/tr_drm.h"
/* Create a pipe_screen. */
struct pipe_screen* radeon_create_screen(struct drm_api* api,
@ -130,5 +131,9 @@ struct drm_api drm_api_hooks = {
struct drm_api* drm_api_create()
{
#ifdef DEBUG
return trace_drm_create(&drm_api_hooks);
#else
return &drm_api_hooks;
#endif
}