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

Unified Diff: gpu/command_buffer/service/gl_utils.h

Issue 557087: Fixed compile error for unit-tests on linux. We do not include any glew file ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gl_utils.h
===================================================================
--- gpu/command_buffer/service/gl_utils.h (revision 37729)
+++ gpu/command_buffer/service/gl_utils.h (working copy)
@@ -8,15 +8,18 @@
#ifndef GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_
#define GPU_COMMAND_BUFFER_SERVICE_GL_UTILS_H_
+#include <build/build_config.h>
+
#if defined(UNIT_TEST)
#include "gpu/command_buffer/service/gl_mock.h"
#else
#include <GL/glew.h>
#if defined(OS_WIN)
#include <GL/wglew.h>
-#endif
-#include <build/build_config.h>
-#endif
+#elif defined(OS_LINUX)
+#include <GL/glxew.h>
+#endif // OS_WIN
+#endif // UNIT_TEST
#define GL_GLEXT_PROTOTYPES 1
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698