summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgramStore.cpp
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-01-31 14:53:24 -0800
committerAlex Sakhartchouk <alexst@google.com>2011-01-31 14:53:24 -0800
commitd0f5bd130bdbd5b357b7f1db4562fa55e06d384c (patch)
tree48ee3f26d8879c2a92b8ee60df9821d46666e9e2 /libs/rs/rsProgramStore.cpp
parente62e890b68cce46b4ed19010874707d3d45fa258 (diff)
Cleaning up the serialization change.
Renaming the define to be more in line with what it does and removing the host stub header file. Change-Id: Ibd3a0a6a398c7f81cc661f71e4478707fe1679ed
Diffstat (limited to 'libs/rs/rsProgramStore.cpp')
-rw-r--r--libs/rs/rsProgramStore.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/rs/rsProgramStore.cpp b/libs/rs/rsProgramStore.cpp
index 72ac574af2fe..09b759d9a340 100644
--- a/libs/rs/rsProgramStore.cpp
+++ b/libs/rs/rsProgramStore.cpp
@@ -14,15 +14,11 @@
* limitations under the License.
*/
-#ifndef ANDROID_RS_BUILD_FOR_HOST
#include "rsContext.h"
+#ifndef ANDROID_RS_SERIALIZE
#include <GLES/gl.h>
#include <GLES/glext.h>
-#else
-#include "rsContextHostStub.h"
-#include <OpenGL/gl.h>
-#include <OpenGl/glext.h>
-#endif //ANDROID_RS_BUILD_FOR_HOST
+#endif //ANDROID_RS_SERIALIZE
#include "rsProgramStore.h"