From 91e456113f6ef41c8539ce320227572888f29f7f Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Mon, 20 Sep 2021 18:55:58 -0400 Subject: [PATCH] Use StartsWith instead of Contains for the Intel check --- common/gal/opengl/cached_container_gpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/gal/opengl/cached_container_gpu.cpp b/common/gal/opengl/cached_container_gpu.cpp index 3136f31de8..49717f200a 100644 --- a/common/gal/opengl/cached_container_gpu.cpp +++ b/common/gal/opengl/cached_container_gpu.cpp @@ -63,7 +63,7 @@ CACHED_CONTAINER_GPU::CACHED_CONTAINER_GPU( unsigned int aSize ) : // disable glCopyBuffer, causes crashes/freezes on certain driver versions // Note, Intel's GL_VENDOR string varies depending on GPU/driver generation // But generally always starts with Intel at least - if( vendor.Contains( "Intel" ) || vendor.Contains( "etnaviv" ) ) + if( vendor.StartsWith( "Intel" ) || vendor.Contains( "etnaviv" ) ) { m_useCopyBuffer = false; }