Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c77a20a9 authored by The Android Open Source Project's avatar The Android Open Source Project
Browse files

merge from open-source master

Change-Id: I022d0781a232396e2b8a67a420ecf50e64b87d8c
parents cd406480 96fb6fb6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -37,6 +37,10 @@ ifeq ($(TARGET_ARCH),arm)
	LOCAL_CFLAGS += -fstrict-aliasing
endif

ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
    LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
endif

ifneq ($(TARGET_SIMULATOR),true)
    # we need to access the private Bionic header <bionic_tls.h>
    # on ARM platforms, we need to mirror the ARCH_ARM_HAVE_TLS_REGISTER
+1 −1
Original line number Diff line number Diff line
@@ -1515,7 +1515,7 @@ void glReadPixels(
        ogles_error(c, GL_INVALID_VALUE);
        return;
    }
    if (x<0 || x<0) {
    if (x<0 || y<0) {
        ogles_error(c, GL_INVALID_VALUE);
        return;
    }