diff options
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/demos/hello_triangle/main.cc | 4 | ||||
-rw-r--r-- | gpu/demos/mip_map_2d/main.cc | 4 | ||||
-rw-r--r-- | gpu/demos/simple_texture_2d/main.cc | 4 |
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 |