Skip to content

Commit

Permalink
Unbreak build on non-x86 architectures after 29c3628
Browse files Browse the repository at this point in the history
graphics_accelerated.cpp:114:17: error: use of undeclared identifier 'bit_SSSE3'
    if (!(ecx & bit_SSSE3)) { return false; }
                ^
  • Loading branch information
jbeich authored and TellowKrinkle committed Aug 29, 2021
1 parent 5fe5b0d commit 14d0cb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/graphics_accelerated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ void alphaMaskBlendConst_Basic(SDL_Surface* dst, SDL_Surface *s1, SDL_Surface *s
}
}

#ifdef USE_X86_GFX
enum Manufacturer {
MF_UNKNOWN,
MF_INTEL,
Expand Down Expand Up @@ -131,6 +132,7 @@ static bool hasFastPSHUFB(Manufacturer mf, int eax, int ecx) {
}
return true;
}
#endif

AcceleratedGraphicsFunctions AcceleratedGraphicsFunctions::accelerated() {
AcceleratedGraphicsFunctions out;
Expand Down

0 comments on commit 14d0cb1

Please sign in to comment.