Skip to content

Commit 21644fc

Browse files
committed
sdl_glimp: do not assume AMD hardware on non-Mesa Linux driver is OGLP
Do not assume AMD hardware on non-Mesa Linux driver is OGLP, it can be AMD hardware on Mesa with a translation layer above.
1 parent a1dfb70 commit 21644fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/engine/sys/sdl_glimp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2496,7 +2496,7 @@ static void GLimp_InitExtensions()
24962496
}
24972497

24982498
// AMD proprietary drivers are known to have buggy bindless texture implementation.
2499-
else if ( glConfig.hardwareVendor == glHardwareVendor_t::ATI )
2499+
else if ( glConfig.driverVendor == glDriverVendor_t::ATI )
25002500
{
25012501
// AMD proprietary driver for macOS does not implement bindless texture.
25022502
// Other systems like FreeBSD don't have AMD proprietary drivers.

0 commit comments

Comments
 (0)