From 17cee572471b56d7faab7b1be1e7e474d1568d57 Mon Sep 17 00:00:00 2001 From: Luc Ferron Date: Mon, 18 Jun 2018 08:28:50 -0400 Subject: SampleApps: Refactor to use cli args the same way Bug: angleproject:2669 Change-Id: Ica5b49e63e8af69595cdde3737b0aa1808d7d841 Reviewed-on: https://chromium-review.googlesource.com/1104377 Reviewed-by: Geoff Lang Reviewed-by: Jamie Madill Commit-Queue: Luc Ferron --- samples/texture_wrap/TextureWrap.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'samples/texture_wrap') diff --git a/samples/texture_wrap/TextureWrap.cpp b/samples/texture_wrap/TextureWrap.cpp index e52ca4858f..8608ac4363 100644 --- a/samples/texture_wrap/TextureWrap.cpp +++ b/samples/texture_wrap/TextureWrap.cpp @@ -20,10 +20,7 @@ class TextureWrapSample : public SampleApplication { public: - TextureWrapSample() - : SampleApplication("TextureWrap", 1280, 720) - { - } + TextureWrapSample(int argc, char **argv) : SampleApplication("TextureWrap", argc, argv) {} virtual bool initialize() { @@ -151,6 +148,6 @@ private: int main(int argc, char **argv) { - TextureWrapSample app; + TextureWrapSample app(argc, argv); return app.run(); } -- cgit v1.2.3