Skip to content

Commit a040bac

Browse files
committed
Fix getGpuType for apple desktop (close #84)
1 parent 36d90d6 commit a040bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export const getGPUTier = async ({
133133
const getGpuType = (renderer: string) => {
134134
const types = isMobile
135135
? (['adreno', 'apple', 'mali-t', 'mali', 'nvidia', 'powervr'] as const)
136-
: (['intel', 'amd', 'radeon', 'nvidia', 'geforce'] as const);
136+
: (['intel', 'apple', 'amd', 'radeon', 'nvidia', 'geforce'] as const);
137137
for (const type of types) {
138138
if (renderer.includes(type)) {
139139
return type;

0 commit comments

Comments
 (0)