diff options
author | 2014-04-30 14:17:00 +0000 | |
---|---|---|
committer | 2014-04-30 14:17:00 +0000 | |
commit | 88cb22b6b4816c7a9ca6c5b795965b4606f9eb7b (patch) | |
tree | a69a96179cdeba81fc41bad9fd0a13a2fe92a626 /src/gpu/gl/GrGLShaderVar.h | |
parent | d3571ed359604e65ae33460eea07ebaa5ba07581 (diff) |
Convert GrCrash->SkFAIL GrDebugCrash->SkDEBUGFAIL
R=robertphillips@google.com, reed@google.com, mtklein@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/257393004
git-svn-id: http://skia.googlecode.com/svn/trunk@14460 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGLShaderVar.h')
-rw-r--r-- | src/gpu/gl/GrGLShaderVar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLShaderVar.h b/src/gpu/gl/GrGLShaderVar.h index 7862abdb26..68c4bbd23a 100644 --- a/src/gpu/gl/GrGLShaderVar.h +++ b/src/gpu/gl/GrGLShaderVar.h @@ -315,7 +315,7 @@ public: case kDefault_Precision: return ""; default: - GrCrash("Unexpected precision type."); + SkFAIL("Unexpected precision type."); } } return ""; @@ -341,7 +341,7 @@ private: case kVaryingOut_TypeModifier: return k110_GrGLSLGeneration == gen ? "varying" : "out"; default: - GrCrash("Unknown shader variable type modifier."); + SkFAIL("Unknown shader variable type modifier."); return ""; // suppress warning } } |