summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2013-09-21 03:55:42 +0200
committerMaarten ter Huurne <maarten@treewalker.org>2013-09-21 03:55:42 +0200
commit0dfa942319cf742e65f3dc4b7e6761e841a6f147 (patch)
treecc24107c7880e65f8e7dda967db5eb0de5c65439
parent8914c39cd05b639d98d2cc4d376a1f883eab4fe4 (diff)
Replaced gcs2D_PROFILE_PTR by its definition
-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;