Skip to content

Commit e83d6ec

Browse files
committed
replace null in check
1 parent 4acee1d commit e83d6ec

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/game/client/swarm/vgui/rd_vgui_settings_video.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ inline bool IsAffectedByAmdShadowBug()
2626
// if AMD
2727
if (info.m_VendorID == 0x1002) {
2828
// navi 32
29-
if (strstr(driverName, "7700") != null) return true;
30-
if (strstr(driverName, "7800") != null) return true;
31-
if (strstr(driverName, "7900") != null) return true;
29+
if (strstr(driverName, "7700")) return true;
30+
if (strstr(driverName, "7800")) return true;
31+
if (strstr(driverName, "7900")) return true;
3232
// navi 48
33-
if (strstr(driverName, "9070") != null) return true;
33+
if (strstr(driverName, "9070")) return true;
3434
// navi 48 pro
35-
if (strstr(driverName, "R9600") != null) return true;
36-
if (strstr(driverName, "R9700") != null) return true;
35+
if (strstr(driverName, "R9600")) return true;
36+
if (strstr(driverName, "R9700")) return true;
3737
}
3838

3939
return false;

0 commit comments

Comments
 (0)