| Index: gpu/demos/framework/demo.cc
|
| ===================================================================
|
| --- gpu/demos/framework/demo.cc (revision 94518)
|
| +++ gpu/demos/framework/demo.cc (working copy)
|
| @@ -14,11 +14,6 @@
|
| Demo::~Demo() {
|
| }
|
|
|
| -void Demo::InitWindowSize(int width, int height) {
|
| - width_ = width;
|
| - height_ = height;
|
| -}
|
| -
|
| void Demo::Draw() {
|
| float elapsed_sec = 0.0f;
|
| clock_t current_time = clock();
|
| @@ -35,5 +30,10 @@
|
| return false;
|
| }
|
|
|
| +void Demo::Resize(int width, int height) {
|
| + width_ = width;
|
| + height_ = height;
|
| +}
|
| +
|
| } // namespace demos
|
| } // namespace gpu
|
|
|