Don't declare displayCache variable if PROGRAM_CACHE_STATS not defined.

BUG=
R=robertphillips@google.com

Review URL: https://codereview.chromium.org/23757053

git-svn-id: http://skia.googlecode.com/svn/trunk@11301 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
jvanverth@google.com 2013-09-16 20:00:46 +00:00
parent 5c9b6faeff
commit a2f4b15d4e

View File

@ -12,8 +12,10 @@
#include "SkRTConf.h"
#include "SkTSearch.h"
#ifdef PROGRAM_CACHE_STATS
SK_CONF_DECLARE(bool, c_DisplayCache, "gpu.displayCache", false,
"Display program cache usage.");
#endif
typedef GrGLUniformManager::UniformHandle UniformHandle;