summaryrefslogtreecommitdiffstats
path: root/o3d/import
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-16 20:50:58 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-16 20:50:58 +0000
commit3762aeb6b417e032ff7d97acaf02670fd2b83248 (patch)
tree036429340f2ee065c8e3b320d9bfe56947178f29 /o3d/import
parent3b18461e5a1e8e35b7e1a8d5c2e5b3bf08f2d63f (diff)
downloadchromium_src-3762aeb6b417e032ff7d97acaf02670fd2b83248.zip
chromium_src-3762aeb6b417e032ff7d97acaf02670fd2b83248.tar.gz
chromium_src-3762aeb6b417e032ff7d97acaf02670fd2b83248.tar.bz2
Step 1 in Adding GLES2 renderer to O3D.
This step does only copies the GL files to a GLES2 folder. It's still actually the GL renderer at this point but it's the smallest step for getting something that builds and a place to start working. The next step will be to rename all the classes from xxxGL to xxxGLES2 At some point CG will be removed as well One other thing slipped in there. A standalone build path to help generate a C++ only example of using O3D. It's currently only a placeholder. Review URL: http://codereview.chromium.org/500070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/import')
-rw-r--r--o3d/import/cross/precompile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/o3d/import/cross/precompile.h b/o3d/import/cross/precompile.h
index c858aa4..98ad5ca 100644
--- a/o3d/import/cross/precompile.h
+++ b/o3d/import/cross/precompile.h
@@ -52,6 +52,13 @@
#endif
#endif // defined(RENDERER_GL)
+#if defined(RENDERER_GLES2)
+#include <GL/glew.h>
+#if defined(OS_WIN)
+#include <GL/wglew.h>
+#endif
+#endif // defined(RENDERER_GLES2)
+
#include <Cg/cg.h>
#include <Cg/cgGL.h>
#include <FCollada.h>