Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4c82550 authored by Jason Sams's avatar Jason Sams Committed by Android Git Automerger
Browse files

am d6e9e61c: Merge "Fix bug in passing of context flags and version." into lmp-mr1-dev

* commit 'd6e9e61c':
  Fix bug in passing of context flags and version.
parents ee549e51 d6e9e61c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -240,10 +240,10 @@ nDeviceSetConfig(JNIEnv *_env, jobject _this, jlong dev, jint p, jint value)
}

static jlong
nContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint ver, jint sdkVer, jint ct)
nContextCreate(JNIEnv *_env, jobject _this, jlong dev, jint flags, jint sdkVer, jint contextType)
{
    LOG_API("nContextCreate");
    return (jlong)(uintptr_t)rsContextCreate((RsDevice)dev, ver, sdkVer, (RsContextType)ct, 0);
    return (jlong)(uintptr_t)rsContextCreate((RsDevice)dev, 0, sdkVer, (RsContextType)contextType, flags);
}

static jlong