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

Unified Diff: gpu/demos/hello_triangle/main.cc

Issue 551011: Changed the signature of Application::Draw to accept elapsed time. It will be... (Closed) Base URL: svn://svn.chromium.org/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 | « gpu/demos/app_framework/application.cc ('k') | gpu/demos/simple_vertex_shader/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/demos/hello_triangle/main.cc
===================================================================
--- gpu/demos/hello_triangle/main.cc (revision 36127)
+++ gpu/demos/hello_triangle/main.cc (working copy)
@@ -19,7 +19,7 @@
bool Init();
protected:
- virtual void Draw();
+ virtual void Draw(float);
private:
ESContext context_;
@@ -49,7 +49,7 @@
return true;
}
-void HelloTriangle::Draw() {
+void HelloTriangle::Draw(float) {
htDraw(&context_);
}
} // namespace gpu_demos
« no previous file with comments | « gpu/demos/app_framework/application.cc ('k') | gpu/demos/simple_vertex_shader/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698