summaryrefslogtreecommitdiff
path: root/libs/rs/rsContext.cpp
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2009-05-27 14:45:32 -0700
committer Jason Sams <rjsams@android.com> 2009-05-27 14:45:32 -0700
commitfe08d99725efd0dde7ba67ff1979a04fec2ba99f (patch)
tree1138f68e7adb78bf753be70815b93adb01540017 /libs/rs/rsContext.cpp
parentcc77841f643751fd9f128e90f7d1587445ef353e (diff)
Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object.
Diffstat (limited to 'libs/rs/rsContext.cpp')
-rw-r--r--libs/rs/rsContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp
index 163cf4df8c40..abc5f456f8ea 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -74,7 +74,7 @@ void Context::runRootScript()
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);