From 67f2e442a31b8395e3c1951f8e91139ec7f2be99 Mon Sep 17 00:00:00 2001 From: Alex Sakhartchouk Date: Thu, 18 Nov 2010 15:22:43 -0800 Subject: Support for cubemaps. Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee --- libs/rs/rsFont.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/rs/rsFont.cpp') diff --git a/libs/rs/rsFont.cpp b/libs/rs/rsFont.cpp index e4d77b2..107022d 100644 --- a/libs/rs/rsFont.cpp +++ b/libs/rs/rsFont.cpp @@ -498,8 +498,8 @@ void FontState::initRenderState() { uint32_t tmp[4]; tmp[0] = RS_PROGRAM_PARAM_CONSTANT; tmp[1] = (uint32_t)inputType; - tmp[2] = RS_PROGRAM_PARAM_TEXTURE_COUNT; - tmp[3] = 1; + tmp[2] = RS_PROGRAM_PARAM_TEXTURE_TYPE; + tmp[3] = RS_TEXTURE_2D; mFontShaderFConstant.set(new Allocation(mRSC, inputType)); ProgramFragment *pf = new ProgramFragment(mRSC, shaderString.string(), -- cgit v1.1