Remove GrTexturePriv
This existed because GrTexture used to be public.
Change-Id: I5e507084ae12058a20481b517b9130b41c793d29
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/305521
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrProgramInfo.cpp b/src/gpu/GrProgramInfo.cpp
index 1e57d4f..9256fff 100644
--- a/src/gpu/GrProgramInfo.cpp
+++ b/src/gpu/GrProgramInfo.cpp
@@ -22,7 +22,7 @@
}
#ifdef SK_DEBUG
-#include "src/gpu/GrTexturePriv.h"
+#include "src/gpu/GrTexture.h"
void GrProgramInfo::validate(bool flushTime) const {
if (flushTime) {
@@ -47,8 +47,7 @@
(tex->width() != 1 || tex->height() != 1)) {
// There are some cases where we might be given a non-mipmapped texture with a
// mipmap filter. See skbug.com/7094.
- SkASSERT(tex->texturePriv().mipmapped() != GrMipmapped::kYes ||
- !tex->texturePriv().mipmapsAreDirty());
+ SkASSERT(tex->mipmapped() != GrMipmapped::kYes || !tex->mipmapsAreDirty());
}
});
}