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

Commit ac19268a authored by Iain Merrick's avatar Iain Merrick
Browse files

Fix 'BCCscript' build break.

frameworks/compile/libbcc/include/bcc/bcc.h was updated
in change I3f3d31fc. What used to be "struct BCCscript"
is now "class bcc::BCCscript" for C++ code.

Looks like the framework/base header rsScriptC.h is just
trying to forward-declare the same type, so we just need
to make the same change there.

Change-Id: I6f6f9dd7608af01d519c2e26fd9b5e6649f71902
parent 6f5dfc6b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -21,7 +21,9 @@

#include "RenderScriptEnv.h"

struct BCCscript;
namespace bcc {
class BCCscript;
}

// ---------------------------------------------------------------------------
namespace android {
@@ -46,7 +48,7 @@ public:

    Program_t mProgram;

    BCCscript*    mBccScript;
    bcc::BCCscript* mBccScript;

    const Allocation *ptrToAllocation(const void *) const;