commit cb8c5db06aa27df1be5394c08917204c80108864
parent 596bf5aaf442c1e8aa2c544eb994487bb26c6921
Author: Brian Swetland <swetland@frotz.net>
Date: Tue, 10 Sep 2013 05:13:45 -0700
hello: resize textgrid on resize of window
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/hello/hello.cc b/hello/hello.cc
@@ -141,6 +141,7 @@ int TestApp::init(void) {
void TestApp::onResize(void) {
proj.setPerspective(D2R(50.0), width / (float) height, 0.1f, 250.0f);
+ text.resize(width/16, height/16);
}
static float rate = 90.0;