Add Java exceptions to catch RS calls with no context or no surface.
This commit is contained in:
@@ -100,6 +100,7 @@ public class Sampler extends BaseObj {
|
||||
}
|
||||
|
||||
public Sampler create() {
|
||||
mRS.validate();
|
||||
return internalCreate(mRS, this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user