Support comma separated decls in struct

This commit is contained in:
2019-02-23 13:03:10 +11:00
parent 83802fcde3
commit 51d30eb3bd
2 changed files with 35 additions and 18 deletions
+2 -2
View File
@@ -28,9 +28,9 @@ DQN_INSPECT struct OpenGLState
{
// #if 0
// #endif
// u32 ebo, vbo, vao;
u32 ebo DQN_INSPECT_META(DisplayName = "Element Buffer Object"), vbo, vao DQN_INSPECT_META(DisplayName = "Vertex Array Object", OpenGLVersion = "330");
// u32 shaders[(int)OpenGLShader::Count];
V4 draw_color DQN_INSPECT_META(FriendlyName = "HelloWorld");
V4 draw_color DQN_INSPECT_META(DisplayName = "HelloWorld");
V3 lighting_ambient_coeff;
// u8 **bitmaps;
// FixedArray<RendererLight, 32> lights;