updated examples.

This commit is contained in:
2022-03-09 20:06:06 +08:00
parent bcd373fe6f
commit edbecbb86d
4 changed files with 31 additions and 46 deletions

View File

@@ -198,7 +198,7 @@ private:
cam.width=extent.width;
cam.height=extent.height;
cam.Refresh();
cam.RefreshCameraInfo();
ubo_camera_info=db->CreateUBO(sizeof(CameraInfo),&cam.info);
@@ -255,7 +255,7 @@ public:
cam.width=w;
cam.height=h;
cam.Refresh();
cam.RefreshCameraInfo();
ubo_camera_info->Write(&cam.info);