aboutsummaryrefslogtreecommitdiffstats
path: root/minui/graphics.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-15 10:58:56 -0700
committerElliott Hughes <enh@google.com>2015-04-15 10:58:56 -0700
commit0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9 (patch)
tree625c21a7688ed613dd22fc9fc9e6c68cec7c44bc /minui/graphics.cpp
parent6e435abfeb7256b5ea82ca37166acf36e3f98085 (diff)
downloadbootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.zip
bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.tar.gz
bootable_recovery-0a5cb0c7cd995ae0330a7d54a8d0db5d892a48a9.tar.bz2
Don't use typedefs that hide *s.
gr_surface was causing confusion for no good reason. Change-Id: If7120187f9a00dd16297877fc49352185a4d4ea6
Diffstat (limited to 'minui/graphics.cpp')
-rw-r--r--minui/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/minui/graphics.cpp b/minui/graphics.cpp
index f240f4b..f09f1c6 100644
--- a/minui/graphics.cpp
+++ b/minui/graphics.cpp
@@ -326,7 +326,7 @@ static void gr_test() {
gr_clear();
gr_color(255, 0, 0, 255);
- gr_surface frame = images[x%frames];
+ GRSurface* frame = images[x%frames];
gr_blit(frame, 0, 0, frame->width, frame->height, x, 0);
gr_color(255, 0, 0, 128);