change values name.
This commit is contained in:
@@ -38,7 +38,7 @@ private:
|
||||
*ro_circle =nullptr,
|
||||
*ro_round_rectangle =nullptr;
|
||||
|
||||
vulkan::Buffer * ubo_mvp =nullptr;
|
||||
vulkan::Buffer * ubo_world_matrix =nullptr;
|
||||
vulkan::Buffer * ubo_color_material =nullptr;
|
||||
|
||||
vulkan::Pipeline * pipeline =nullptr;
|
||||
@@ -119,7 +119,7 @@ private:
|
||||
|
||||
cam.Refresh();
|
||||
|
||||
ubo_mvp =CreateUBO("world", sizeof(WorldMatrix),&cam.matrix);
|
||||
ubo_world_matrix =CreateUBO("world", sizeof(WorldMatrix),&cam.matrix);
|
||||
ubo_color_material =CreateUBO("color_material",sizeof(Vector4f),&color);
|
||||
|
||||
material_instance->Update();
|
||||
@@ -182,7 +182,7 @@ public:
|
||||
|
||||
cam.Refresh();
|
||||
|
||||
ubo_mvp->Write(&cam.matrix);
|
||||
ubo_world_matrix->Write(&cam.matrix);
|
||||
|
||||
BuildCommandBuffer(&render_list);
|
||||
}
|
||||
|
Reference in New Issue
Block a user