mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 885266: Fix wrong ifdef in ShadowLayersUtilsGralloc; r=kanru
This commit is contained in:
parent
e3c9cb90ae
commit
346c0ff7e2
@ -348,7 +348,7 @@ ISurfaceAllocator::PlatformAllocSurfaceDescriptor(const gfxIntSize& aSize,
|
||||
|
||||
// Check for Nexus S to disable gralloc. We only check for this on ICS or
|
||||
// earlier, in hopes that JB will work.
|
||||
#ifdef ANDROID_VERSION <= 15
|
||||
#if ANDROID_VERSION <= 15
|
||||
char propValue[PROPERTY_VALUE_MAX];
|
||||
property_get("ro.product.device", propValue, "None");
|
||||
if (strcmp("crespo",propValue) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user