mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
r300g: Readd trace driver support
This commit is contained in:
parent
59abfa8e42
commit
d1c8a0a308
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue