| 129 | } |
| 130 | |
| 131 | U32 GFXCardProfiler::queryProfile(const String &cap) |
| 132 | { |
| 133 | U32 res; |
| 134 | if( _queryCardCap( cap, res ) ) |
| 135 | return res; |
| 136 | |
| 137 | if(mCapDictionary.contains(cap)) |
| 138 | return mCapDictionary[cap]; |
| 139 | |
| 140 | Con::errorf( "GFXCardProfiler (%s) - Unknown capability '%s'.", getRendererString().c_str(), cap.c_str() ); |
| 141 | return 0; |
| 142 | } |
| 143 | |
| 144 | U32 GFXCardProfiler::queryProfile(const String &cap, U32 defaultValue) |
| 145 | { |
no test coverage detected