Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: import/cross/precompile.h

Issue 208037: Added command buffer unit tests to gyp.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/cross/gl/renderer_gl.cc ('k') | import/import.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: import/cross/precompile.h
===================================================================
--- import/cross/precompile.h (revision 26702)
+++ import/cross/precompile.h (working copy)
@@ -37,17 +37,20 @@
#include <windows.h>
#include <shellapi.h>
#include <stdlib.h>
-#include <d3dx9.h>
#endif
#ifdef __cplusplus
+#if defined(RENDERER_D3D9)
+#include <d3dx9.h>
+#endif // defined(RENDERER_D3D9)
+
#if defined(RENDERER_GL)
#include <GL/glew.h>
#if defined(OS_WIN)
#include <GL/wglew.h>
#endif
-#endif // defined(RENDERER_GL)
+#endif // defined(RENDERER_GL)
#include <Cg/cg.h>
#include <Cg/cgGL.h>
« no previous file with comments | « core/cross/gl/renderer_gl.cc ('k') | import/import.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698