aboutsummaryrefslogtreecommitdiff
path: root/slang_rs_reflection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'slang_rs_reflection.cpp')
-rw-r--r--slang_rs_reflection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slang_rs_reflection.cpp b/slang_rs_reflection.cpp
index f1d9d3d..35a6a29 100644
--- a/slang_rs_reflection.cpp
+++ b/slang_rs_reflection.cpp
@@ -625,7 +625,7 @@ void RSReflectionJava::genExportFunction(const RSExportFunc *EF) {
}
}
- if (mRSContext->getTargetAPI() >= SLANG_DEVELOPMENT_TARGET_API) {
+ if (mRSContext->getTargetAPI() >= SLANG_23_TARGET_API) {
startFunction(AM_Public, false, "Script.InvokeID",
"getInvokeID_" + EF->getName(), 0);