aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SurfaceSemaphoreTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SurfaceSemaphoreTest.cpp')
-rw-r--r--tests/SurfaceSemaphoreTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SurfaceSemaphoreTest.cpp b/tests/SurfaceSemaphoreTest.cpp
index 980478bcef..b3a030e7c9 100644
--- a/tests/SurfaceSemaphoreTest.cpp
+++ b/tests/SurfaceSemaphoreTest.cpp
@@ -111,7 +111,7 @@ void surface_semaphore_test(skiatest::Reporter* reporter,
const sk_gpu_test::ContextInfo& childInfo2,
bool flushContext) {
GrContext* mainCtx = mainInfo.grContext();
- if (!mainCtx->caps()->fenceSyncSupport()) {
+ if (!mainCtx->contextPriv().caps()->fenceSyncSupport()) {
return;
}
@@ -213,7 +213,7 @@ DEF_GPUTEST(SurfaceSemaphores, reporter, options) {
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(EmptySurfaceSemaphoreTest, reporter, ctxInfo) {
GrContext* ctx = ctxInfo.grContext();
- if (!ctx->caps()->fenceSyncSupport()) {
+ if (!ctx->contextPriv().caps()->fenceSyncSupport()) {
return;
}