summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--native/etnaviv/viv_profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/etnaviv/viv_profile.c b/native/etnaviv/viv_profile.c
index 2850106..17de9b6 100644
--- a/native/etnaviv/viv_profile.c
+++ b/native/etnaviv/viv_profile.c
@@ -159,7 +159,7 @@ int viv_read_profile_counters_2d(struct viv_conn *conn, uint32_t *out)
int rv = viv_invoke(conn, &id);
if(rv < 0)
return rv;
- gcs2D_PROFILE_PTR counters = &id.u.RegisterProfileData2D.hwProfile2D;
+ struct _gcs2D_PROFILE *counters = &id.u.RegisterProfileData2D.hwProfile2D;
out[VIV_PROF_GPU_CYCLES_COUNTER] = counters->cycleCount;
out[VIV_PROF_PE_PIXELS_RENDERED_2D] = counters->pixelsRendered;