mirror of
https://github.com/xdsopl/robot36.git
synced 2025-12-06 07:12:07 +01:00
use renderscriptTargetApi 18
hopefully this will fix issues with some devices
This commit is contained in:
parent
44f74bb50e
commit
57e5779468
|
|
@ -10,7 +10,7 @@ android {
|
|||
targetSdkVersion 22
|
||||
versionCode 29
|
||||
versionName "1.28"
|
||||
renderscriptTargetApi 19
|
||||
renderscriptTargetApi 18
|
||||
renderscriptSupportModeEnabled true
|
||||
}
|
||||
buildTypes {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ limitations under the License.
|
|||
|
||||
void adjust_blur(int blur)
|
||||
{
|
||||
user_blur = clamp(blur, -3, 3);
|
||||
user_blur = min(max(blur, -3), 3);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue