英文语法修改Registry->Register

This commit is contained in:
2025-07-03 10:16:34 +08:00
parent 7dc7e2b0d7
commit c7c4a09afa
16 changed files with 43 additions and 43 deletions

View File

@@ -88,7 +88,7 @@ public:
{
CloseShaderCompiler();
win->UnregistryEventDispatch(this);
win->UnregisterEventDispatch(this);
SAFE_CLEAR(db);
SAFE_CLEAR_OBJECT_ARRAY_OBJECT(cmd_buf,swap_chain_count);
@@ -154,7 +154,7 @@ public:
InitCommandBuffer();
win->RegistryEventDispatch(this);
win->RegisterEventDispatch(this);
{
vp_info.Set(w,h);
@@ -403,8 +403,8 @@ public:
ckc=new CameraKeyboardControl(camera_control);
cmc=new CameraMouseControl(camera_control);
win->RegistryEventDispatch(ckc);
win->RegistryEventDispatch(cmc);
win->RegisterEventDispatch(ckc);
win->RegisterEventDispatch(cmc);
RefreshCameraInfo(camera_control->GetCameraInfo(),&vp_info,camera);