commit | fe08d99725efd0dde7ba67ff1979a04fec2ba99f | [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 | 1138f68e7adb78bf753be70815b93adb01540017 | |
parent | cc77841f643751fd9f128e90f7d1587445ef353e [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/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index 163cf4d..abc5f45 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/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);