Skip to content

Commit f15d933

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 99bcb38 commit f15d933

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
@@ -2492,7 +2492,7 @@ static void GLimp_InitExtensions()
24922492
}
24932493

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

0 commit comments

Comments
 (0)