From a0659aa36c987e28e29778bd97e75fe52152c60e Mon Sep 17 00:00:00 2001 From: Jack Palevich Date: Fri, 12 Feb 2010 18:21:26 +0800 Subject: Revert "RenderScript should not depend on libsurfaceflinger_client.so" This reverts commit 88b55fb090ace1a835f890758866f42f03795c12. --- libs/rs/rsContext.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/rs/rsContext.cpp') diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index e94aece2ed59..2a0ccfb7d65e 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp @@ -19,7 +19,7 @@ #include "rsThreadIO.h" #include #include -#include +#include #include #include @@ -461,7 +461,7 @@ Context::~Context() objDestroyOOBDestroy(); } -void Context::setSurface(uint32_t w, uint32_t h, android_native_window_t *sur) +void Context::setSurface(uint32_t w, uint32_t h, Surface *sur) { rsAssert(mIsGraphicsContext); @@ -859,7 +859,7 @@ void rsi_ContextResume(Context *rsc) void rsi_ContextSetSurface(Context *rsc, uint32_t w, uint32_t h, void *sur) { - rsc->setSurface(w, h, (android_native_window_t *)sur); + rsc->setSurface(w, h, (Surface *)sur); } void rsi_ContextSetPriority(Context *rsc, int32_t p) -- cgit v1.2.3-59-g8ed1b