updated usage of Serializable
This commit is contained in:
parent
dbbe726859
commit
8ae05e3791
@ -136,11 +136,11 @@ void generateSponza(SceneTree *scene, btDiscreteDynamicsWorld *world)
|
|||||||
|
|
||||||
struct Config : public Serializable
|
struct Config : public Serializable
|
||||||
{
|
{
|
||||||
STRING(mode) // fullscreen / windowed / borderless
|
P_STRING(mode) // fullscreen / windowed / borderless
|
||||||
STRING(scene) // terrain / sponza / none
|
P_STRING(scene) // terrain / sponza / none
|
||||||
BOOL(vsync)
|
P_BOOL(vsync)
|
||||||
INT(width)
|
P_INT(width)
|
||||||
INT(height)
|
P_INT(height)
|
||||||
SERIALIZABLE(Config, CAST(mode), CAST(scene), CAST(vsync), CAST(width), CAST(height))
|
SERIALIZABLE(Config, CAST(mode), CAST(scene), CAST(vsync), CAST(width), CAST(height))
|
||||||
|
|
||||||
Config()
|
Config()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user