Index: src/gpu/gl/GrGpuGL.cpp |
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp |
index 6f8d65332e0e78b6669feccdccb152373784b8a8..071d49de5025e754a980257dfe51bc927c98e6f1 100644 |
--- a/src/gpu/gl/GrGpuGL.cpp |
+++ b/src/gpu/gl/GrGpuGL.cpp |
@@ -714,13 +714,6 @@ static bool renderbuffer_storage_msaa(GrGLContext& ctx, |
int width, int height) { |
CLEAR_ERROR_BEFORE_ALLOC(ctx.interface()); |
SkASSERT(GrGLCaps::kNone_MSFBOType != ctx.caps()->msFBOType()); |
-#if GR_GL_IGNORE_ES3_MSAA |
- GL_ALLOC_CALL(ctx.interface(), |
- RenderbufferStorageMultisample(GR_GL_RENDERBUFFER, |
- sampleCount, |
- format, |
- width, height)); |
-#else |
switch (ctx.caps()->msFBOType()) { |
case GrGLCaps::kDesktop_ARB_MSFBOType: |
case GrGLCaps::kDesktop_EXT_MSFBOType: |
@@ -750,7 +743,6 @@ static bool renderbuffer_storage_msaa(GrGLContext& ctx, |
GrCrash("Shouldn't be here if we don't support multisampled renderbuffers."); |
break; |
} |
-#endif |
return (GR_GL_NO_ERROR == CHECK_ALLOC_ERROR(ctx.interface()));; |
} |