Move adapter2D to a derived class from Allocation.
Change-Id: I7e9d8b0028ba95956476f253da38dbe64564d0da
diff --git a/libs/rs/rsFont.cpp b/libs/rs/rsFont.cpp
index 80bca43..3dcf743 100644
--- a/libs/rs/rsFont.cpp
+++ b/libs/rs/rsFont.cpp
@@ -606,7 +606,7 @@
mRSC->setProgramStore(mFontProgramStore.get());
if (mConstantsDirty) {
- mFontShaderFConstant->data(mRSC, &mConstants, sizeof(mConstants));
+ mFontShaderFConstant->data(mRSC, 0, 0, 1, &mConstants, sizeof(mConstants));
mConstantsDirty = false;
}