summaryrefslogtreecommitdiffstats
path: root/rsProgramVertex.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
commit77d9f4bd05b2d2a161f30c12a2248f9c97eaac42 (patch)
tree3a709b9ac16afd941095e64fa961e4387f9175ee /rsProgramVertex.cpp
parent099d7d33e55afeb3399f6e8cf8d665223ca94939 (diff)
downloadandroid_frameworks_rs-77d9f4bd05b2d2a161f30c12a2248f9c97eaac42.tar.gz
android_frameworks_rs-77d9f4bd05b2d2a161f30c12a2248f9c97eaac42.tar.bz2
android_frameworks_rs-77d9f4bd05b2d2a161f30c12a2248f9c97eaac42.zip
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 'rsProgramVertex.cpp')
-rw-r--r--rsProgramVertex.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/rsProgramVertex.cpp b/rsProgramVertex.cpp
index ad2beafb..403c2a6e 100644
--- a/rsProgramVertex.cpp
+++ b/rsProgramVertex.cpp
@@ -14,17 +14,13 @@
* 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>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
-#else
-#include "rsContextHostStub.h"
-#include <OpenGL/gl.h>
-#include <OpenGL/glext.h>
-#endif //ANDROID_RS_BUILD_FOR_HOST
+#endif //ANDROID_RS_SERIALIZE
#include "rsProgramVertex.h"