updated usage of Serializable

This commit is contained in:
Anselme 2017-01-22 12:25:33 +01:00
parent dbbe726859
commit 8ae05e3791

View File

@ -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()