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

Unified Diff: remoting/client/sys_opengl.h

Issue 2196493002: [Chromoting] Unit Tests for GlRenderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make RequestRender private and declare the test as friend Created 4 years, 4 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
« remoting/client/gl_desktop.h ('K') | « remoting/client/gl_renderer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/sys_opengl.h
diff --git a/remoting/client/sys_opengl.h b/remoting/client/sys_opengl.h
index 142f5d45291985be7a2476d1b329738ee07b9cbc..7aaaf295f3d6907781dc1c0558920e0f1748bec1 100644
--- a/remoting/client/sys_opengl.h
+++ b/remoting/client/sys_opengl.h
@@ -11,8 +11,12 @@
#include <OpenGLES/ES3/gl.h>
#elif defined(OS_ANDROID)
#include <GLES3/gl3.h>
+#elif defined(OS_LINUX)
+#define GL_GLEXT_PROTOTYPES
+#include <GL/gl.h>
+#include <GL/glext.h>
#else
#error OpenGL renderer not supported on this platform.
-#endif
+#endif // defined(OS_IOS)
#endif // REMOTING_CLIENT_SYS_OPENGL_H_
« remoting/client/gl_desktop.h ('K') | « remoting/client/gl_renderer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698