Add in missing FONT support. Change-Id: I30854d5466b14a2349893f339dd4d48c29932d94
diff --git a/rsComponent.cpp b/rsComponent.cpp index 9c2c200..d240952 100644 --- a/rsComponent.cpp +++ b/rsComponent.cpp
@@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 The Android Open Source Project + * Copyright (C) 2009-2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -117,6 +117,7 @@ case RS_TYPE_PROGRAM_VERTEX: case RS_TYPE_PROGRAM_RASTER: case RS_TYPE_PROGRAM_STORE: + case RS_TYPE_FONT: rsAssert(mVectorSize == 1); rsAssert(mNormalized == false); rsAssert(mKind == RS_KIND_USER); @@ -170,6 +171,7 @@ break; default: rsAssert(mType != RS_TYPE_INVALID); + rsAssert(0); break; }