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

Unified Diff: examples/spinning_cube/spinning_cube.h

Issue 1416133002: Use MGLGetProcAddress to access OpenGL functions (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Don't use inner class Created 5 years, 2 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 | « examples/spinning_cube/BUILD.gn ('k') | examples/spinning_cube/spinning_cube.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/spinning_cube/spinning_cube.h
diff --git a/examples/spinning_cube/spinning_cube.h b/examples/spinning_cube/spinning_cube.h
index 03529701d4609c4099f2b2a9b6e2d6432b5ac81a..e493c0b5877cc4996c68c6060d0d6ac5abae1185 100644
--- a/examples/spinning_cube/spinning_cube.h
+++ b/examples/spinning_cube/spinning_cube.h
@@ -11,6 +11,8 @@
namespace examples {
+class GLInterface;
+
class SpinningCube {
public:
SpinningCube();
@@ -42,6 +44,7 @@ class SpinningCube {
bool initialized_;
uint32_t width_;
uint32_t height_;
+ scoped_ptr<GLInterface> gl_;
scoped_ptr<GLState> state_;
float fling_multiplier_;
int direction_;
« no previous file with comments | « examples/spinning_cube/BUILD.gn ('k') | examples/spinning_cube/spinning_cube.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698