From 8ae05e379126cc98e88807ab3a213b1e8b7287d8 Mon Sep 17 00:00:00 2001 From: Anselme Date: Sun, 22 Jan 2017 12:25:33 +0100 Subject: [PATCH] updated usage of Serializable --- src/test/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/main.cpp b/src/test/main.cpp index 97a1e16..4b1ad36 100644 --- a/src/test/main.cpp +++ b/src/test/main.cpp @@ -136,11 +136,11 @@ void generateSponza(SceneTree *scene, btDiscreteDynamicsWorld *world) struct Config : public Serializable { - STRING(mode) // fullscreen / windowed / borderless - STRING(scene) // terrain / sponza / none - BOOL(vsync) - INT(width) - INT(height) + P_STRING(mode) // fullscreen / windowed / borderless + P_STRING(scene) // terrain / sponza / none + P_BOOL(vsync) + P_INT(width) + P_INT(height) SERIALIZABLE(Config, CAST(mode), CAST(scene), CAST(vsync), CAST(width), CAST(height)) Config()