mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-08 15:38:02 +01:00
fixup! vrclient: Inline some IVRRenderModels override code.
This commit is contained in:
parent
669e77a482
commit
fe590700dd
1 changed files with 3 additions and 4 deletions
|
|
@ -221,9 +221,8 @@ static EVRRenderModelError ivrrendermodels_load_texture_d3d11_async( void *devic
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
static EVRRenderModelError ivrrendermodels_load_into_texture_d3d11_async( void *dst_texture )
|
static EVRRenderModelError ivrrendermodels_load_into_texture_d3d11_async( void *dst_texture, struct winRenderModel_TextureMap_t_1237 *texture_map )
|
||||||
{
|
{
|
||||||
struct winRenderModel_TextureMap_t_1237 *texture_map = NULL;
|
|
||||||
IUnknown *unk = dst_texture;
|
IUnknown *unk = dst_texture;
|
||||||
EVRRenderModelError error;
|
EVRRenderModelError error;
|
||||||
ID3D11Texture2D *texture;
|
ID3D11Texture2D *texture;
|
||||||
|
|
@ -349,7 +348,7 @@ EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_005_LoadIntoTe
|
||||||
return _ret;
|
return _ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
_ret = ivrrendermodels_load_into_texture_d3d11_async( pDstTexture );
|
_ret = ivrrendermodels_load_into_texture_d3d11_async( pDstTexture, texture_map );
|
||||||
|
|
||||||
free_linux_texture_map_005( _this->u_iface, texture_map );
|
free_linux_texture_map_005( _this->u_iface, texture_map );
|
||||||
|
|
||||||
|
|
@ -385,7 +384,7 @@ EVRRenderModelError __thiscall winIVRRenderModels_IVRRenderModels_006_LoadIntoTe
|
||||||
return _ret;
|
return _ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
_ret = ivrrendermodels_load_into_texture_d3d11_async( pDstTexture );
|
_ret = ivrrendermodels_load_into_texture_d3d11_async( pDstTexture, texture_map );
|
||||||
|
|
||||||
free_linux_texture_map_006( _this->u_iface, texture_map );
|
free_linux_texture_map_006( _this->u_iface, texture_map );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue