parent
32a5653464
commit
1b8259701e
|
@ -59,9 +59,11 @@ CACHED_CONTAINER_GPU::CACHED_CONTAINER_GPU( unsigned int aSize ) :
|
||||||
|
|
||||||
wxString vendor( glGetString( GL_VENDOR ) );
|
wxString vendor( glGetString( GL_VENDOR ) );
|
||||||
|
|
||||||
// workaround for intel GPU drivers: disable glCopyBuffer, causes crashes/freezes on
|
// workaround for intel GPU drivers:
|
||||||
// certain driver versions
|
// disable glCopyBuffer, causes crashes/freezes on certain driver versions
|
||||||
if( vendor.Contains( "Intel " ) || vendor.Contains( "etnaviv" ) )
|
// 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" ) )
|
||||||
{
|
{
|
||||||
m_useCopyBuffer = false;
|
m_useCopyBuffer = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue