diff options
| author | Elliott Hughes <enh@google.com> | 2015-10-22 22:15:31 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2015-10-22 22:15:31 +0000 |
| commit | 998bd12c3fcd2e4bd36b2138017cd8f45bf64f88 (patch) | |
| tree | 00e58959ca30a45a9d43fa9dae04f9107f350af3 /libpixelflinger | |
| parent | eea68c6f980133675ebecbfd620938a1380caf89 (diff) | |
| parent | 5643f8094753e4672cb64ff9b4a7b307d43a80ac (diff) | |
| download | core-998bd12c3fcd2e4bd36b2138017cd8f45bf64f88.tar.gz core-998bd12c3fcd2e4bd36b2138017cd8f45bf64f88.tar.bz2 core-998bd12c3fcd2e4bd36b2138017cd8f45bf64f88.zip | |
Merge "Fix some compiler warnings in libpixelflinger."
am: 5643f80947
* commit '5643f8094753e4672cb64ff9b4a7b307d43a80ac':
Fix some compiler warnings in libpixelflinger.
Diffstat (limited to 'libpixelflinger')
| -rw-r--r-- | libpixelflinger/include/private/pixelflinger/ggl_context.h | 2 | ||||
| -rw-r--r-- | libpixelflinger/trap.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libpixelflinger/include/private/pixelflinger/ggl_context.h b/libpixelflinger/include/private/pixelflinger/ggl_context.h index d43655cbb..a18b2f769 100644 --- a/libpixelflinger/include/private/pixelflinger/ggl_context.h +++ b/libpixelflinger/include/private/pixelflinger/ggl_context.h @@ -234,7 +234,7 @@ enum { // ---------------------------------------------------------------------------- -class needs_filter_t; +struct needs_filter_t; struct needs_t { inline int match(const needs_filter_t& filter); inline bool operator == (const needs_t& rhs) const { diff --git a/libpixelflinger/trap.cpp b/libpixelflinger/trap.cpp index 80efeff71..ea5362553 100644 --- a/libpixelflinger/trap.cpp +++ b/libpixelflinger/trap.cpp @@ -563,10 +563,10 @@ void trianglex_small(void* con, c->init_y(c, miny); for (int32_t y = miny; y < maxy; y++) { - register int32_t ex0 = ey0; - register int32_t ex1 = ey1; - register int32_t ex2 = ey2; - register int32_t xl, xr; + int32_t ex0 = ey0; + int32_t ex1 = ey1; + int32_t ex2 = ey2; + int32_t xl, xr; for (xl=minx ; xl<maxx ; xl++) { if (ex0>0 && ex1>0 && ex2>0) break; // all strictly positive |
