aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_shader_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_shader_demo.c')
-rw-r--r--examples/pugl_shader_demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_shader_demo.c b/examples/pugl_shader_demo.c
index 6c2fcd6..5773a9d 100644
--- a/examples/pugl_shader_demo.c
+++ b/examples/pugl_shader_demo.c
@@ -245,8 +245,8 @@ setupPugl(PuglTestApp* app)
app->rects = makeRects(app->numRects);
// Set up world and view
- puglSetClassName(app->world, "PuglShaderDemo");
- puglSetWindowTitle(app->view, "Pugl OpenGL Shader Demo");
+ puglSetWorldString(app->world, PUGL_CLASS_NAME, "PuglShaderDemo");
+ puglSetViewString(app->view, PUGL_WINDOW_TITLE, "Pugl OpenGL Shader Demo");
puglSetSizeHint(app->view, PUGL_DEFAULT_SIZE, defaultSpan, defaultSpan);
puglSetSizeHint(app->view, PUGL_MIN_SIZE, 128, 128);
puglSetSizeHint(app->view, PUGL_MAX_SIZE, 2048, 2048);