diff options
author | Jason Sams <rjsams@android.com> | 2010-01-07 15:40:45 -0800 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-01-07 16:26:42 -0800 |
commit | 6286953eced16648d18e1efc57c3b089c49b5608 (patch) | |
tree | e2e683664592acd3d8571a9d1e86395cc636503c /libs/rs/rsProgramVertex.cpp | |
parent | edc5189c33de03f3e2f5f73edc0e007992b933c9 (diff) | |
download | frameworks_base-6286953eced16648d18e1efc57c3b089c49b5608.zip frameworks_base-6286953eced16648d18e1efc57c3b089c49b5608.tar.gz frameworks_base-6286953eced16648d18e1efc57c3b089c49b5608.tar.bz2 |
Change user attribs to look for empty slot rather than using them in order. Prevents conflict with numbered legacy slots.
Diffstat (limited to 'libs/rs/rsProgramVertex.cpp')
-rw-r--r-- | libs/rs/rsProgramVertex.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/rs/rsProgramVertex.cpp b/libs/rs/rsProgramVertex.cpp index 2be6a7d..8e59bc2 100644 --- a/libs/rs/rsProgramVertex.cpp +++ b/libs/rs/rsProgramVertex.cpp @@ -56,10 +56,10 @@ ProgramVertex::~ProgramVertex() static void logMatrix(const char *txt, const float *f) { LOGV("Matrix %s, %p", txt, f); - LOGV("%6.2f, %6.2f, %6.2f, %6.2f", f[0], f[4], f[8], f[12]); - LOGV("%6.2f, %6.2f, %6.2f, %6.2f", f[1], f[5], f[9], f[13]); - LOGV("%6.2f, %6.2f, %6.2f, %6.2f", f[2], f[6], f[10], f[14]); - LOGV("%6.2f, %6.2f, %6.2f, %6.2f", f[3], f[7], f[11], f[15]); + LOGV("%6.4f, %6.4f, %6.4f, %6.4f", f[0], f[4], f[8], f[12]); + LOGV("%6.4f, %6.4f, %6.4f, %6.4f", f[1], f[5], f[9], f[13]); + LOGV("%6.4f, %6.4f, %6.4f, %6.4f", f[2], f[6], f[10], f[14]); + LOGV("%6.4f, %6.4f, %6.4f, %6.4f", f[3], f[7], f[11], f[15]); } void ProgramVertex::setupGL(const Context *rsc, ProgramVertexState *state) |