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
|
||||
{
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user