commit | 6678e9b2568ad041429a2477177133fe4932159f | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Wed May 27 14:45:32 2009 -0700 |
committer | Jason Sams <rjsams@android.com> | Wed May 27 14:45:32 2009 -0700 |
tree | d6b6cceb368e22e703c05e985dd654f58031fa3c | |
parent | 9e1b63bd982c2775b24f16ffda68dd5b06fca60f [diff] [blame] |
Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object.
diff --git a/rsContext.cpp b/rsContext.cpp index 163cf4d..abc5f45 100644 --- a/rsContext.cpp +++ b/rsContext.cpp
@@ -74,7 +74,7 @@ if(mRootScript->mIsOrtho) { glMatrixMode(GL_PROJECTION); glLoadIdentity(); - glOrthof(0, 320, 0, 480, 0, 1); + glOrthof(0, 320, 480, 0, 0, 1); glMatrixMode(GL_MODELVIEW); } else { glMatrixMode(GL_PROJECTION);