Shahryar
Shahryar

Reputation: 324

RenderScript Pragma Error

I'm trying to use renderscript and it gives me the error that pragma name is not correct.I'm using pragma like this:

#pragma rs java_com.example.shahryar.ripplerenderscript

is it wrong?

Upvotes: 0

Views: 51

Answers (1)

Larry Schiefer
Larry Schiefer

Reputation: 15775

The form should be:

#pragma rs java_package_name(java_com.example.shahryar.ripplerenderscript)

Upvotes: 2

Related Questions