diff options
| author | 2014-03-13 23:18:43 +0000 | |
|---|---|---|
| committer | 2014-03-13 23:18:43 +0000 | |
| commit | c45011f27209d5d548be3f96f2a23f7ff7f48c4c (patch) | |
| tree | 89f759817f6ca11ae4ed715a207e3f6aa37fa09b /opengl/libagl/array.cpp | |
| parent | f4b08ebc61153afac8cab1e87ba015b142a394b6 (diff) | |
| parent | cdbf28b3f7f5327f4cb0eb95b8326bf4c24c87ba (diff) | |
am cdbf28b3: Merge "native frameworks: 64-bit compile issues"
* commit 'cdbf28b3f7f5327f4cb0eb95b8326bf4c24c87ba':
native frameworks: 64-bit compile issues
Diffstat (limited to 'opengl/libagl/array.cpp')
| -rw-r--r-- | opengl/libagl/array.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/opengl/libagl/array.cpp b/opengl/libagl/array.cpp index 7fbe9b5f96..54207fa212 100644 --- a/opengl/libagl/array.cpp +++ b/opengl/libagl/array.cpp @@ -397,9 +397,9 @@ void vertex_cache_t::clear() } } +#if VC_CACHE_STATISTICS void vertex_cache_t::dump_stats(GLenum mode) { -#if VC_CACHE_STATISTICS nsecs_t time = systemTime(SYSTEM_TIME_THREAD) - startTime; uint32_t hits = total - misses; uint32_t prim_count; @@ -418,8 +418,12 @@ void vertex_cache_t::dump_stats(GLenum mode) total, hits, misses, (hits*100)/total, prim_count, int(ns2us(time)), int(prim_count*float(seconds(1))/time), float(misses) / prim_count); -#endif } +#else +void vertex_cache_t::dump_stats(GLenum /*mode*/) +{ +} +#endif // ---------------------------------------------------------------------------- #if 0 |