summaryrefslogtreecommitdiffstats
path: root/gpu/demos
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 19:34:18 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-15 19:34:18 +0000
commitdf9aeeca85b186ef9c4dbc7398ca461687faaf9a (patch)
treed9e0e229bf505f14ecc9def38a2f6b16d1d2a4b8 /gpu/demos
parentf3a6b2eced80573de30e0ab667c280d46e3645d7 (diff)
downloadchromium_src-df9aeeca85b186ef9c4dbc7398ca461687faaf9a.zip
chromium_src-df9aeeca85b186ef9c4dbc7398ca461687faaf9a.tar.gz
chromium_src-df9aeeca85b186ef9c4dbc7398ca461687faaf9a.tar.bz2
Added variable name as required by style guide.
Review URL: http://codereview.chromium.org/549071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36387 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/demos')
-rw-r--r--gpu/demos/hello_triangle/main.cc4
-rw-r--r--gpu/demos/mip_map_2d/main.cc4
-rw-r--r--gpu/demos/simple_texture_2d/main.cc4
3 files changed, 6 insertions, 6 deletions
diff --git a/gpu/demos/hello_triangle/main.cc b/gpu/demos/hello_triangle/main.cc
index 3f75bc9..12a819b 100644
--- a/gpu/demos/hello_triangle/main.cc
+++ b/gpu/demos/hello_triangle/main.cc
@@ -19,7 +19,7 @@ class HelloTriangle : public Application {
bool Init();
protected:
- virtual void Draw(float);
+ virtual void Draw(float elapsed_sec);
private:
ESContext context_;
@@ -49,7 +49,7 @@ bool HelloTriangle::Init() {
return true;
}
-void HelloTriangle::Draw(float) {
+void HelloTriangle::Draw(float /*elapsed_sec*/) {
htDraw(&context_);
}
} // namespace gpu_demos
diff --git a/gpu/demos/mip_map_2d/main.cc b/gpu/demos/mip_map_2d/main.cc
index 6fa9bed..c201367 100644
--- a/gpu/demos/mip_map_2d/main.cc
+++ b/gpu/demos/mip_map_2d/main.cc
@@ -17,7 +17,7 @@ class MipMap2D : public Application {
bool Init();
protected:
- virtual void Draw(float);
+ virtual void Draw(float elapsed_sec);
private:
ESContext context_;
@@ -47,7 +47,7 @@ bool MipMap2D::Init() {
return true;
}
-void MipMap2D::Draw(float) {
+void MipMap2D::Draw(float /*elapsed_sec*/) {
mmDraw(&context_);
}
} // namespace gpu_demos
diff --git a/gpu/demos/simple_texture_2d/main.cc b/gpu/demos/simple_texture_2d/main.cc
index 7ba8691..e122f03 100644
--- a/gpu/demos/simple_texture_2d/main.cc
+++ b/gpu/demos/simple_texture_2d/main.cc
@@ -18,7 +18,7 @@ class SimpleTexture2D : public Application {
bool Init();
protected:
- virtual void Draw(float);
+ virtual void Draw(float elapsed_sec);
private:
ESContext context_;
@@ -48,7 +48,7 @@ bool SimpleTexture2D::Init() {
return true;
}
-void SimpleTexture2D::Draw(float) {
+void SimpleTexture2D::Draw(float /*elapsed_sec*/) {
stDraw(&context_);
}
} // namespace gpu_demos