Fix some minor bugs with GL state setup that were exposed by Droids driver.

This commit is contained in:
Jason Sams
2010-01-27 14:41:43 -08:00
parent 445cc0e4bf
commit 5dbfe93b3f
9 changed files with 35 additions and 21 deletions

View File

@@ -45,13 +45,11 @@ public class Allocation extends BaseObj {
public void uploadToTexture(int baseMipLevel) {
mRS.validate();
mRS.validateSurface();
mRS.nAllocationUploadToTexture(mID, baseMipLevel);
}
public void uploadToBufferObject() {
mRS.validate();
mRS.validateSurface();
mRS.nAllocationUploadToBufferObject(mID);
}