fix typename writed error.

This commit is contained in:
hyzboy 2020-07-20 19:18:34 +08:00
parent 2c0164d952
commit 8c32fb4d3c

View File

@ -72,7 +72,7 @@ namespace hgl
* @param offset 访
* @return 访
*/
void *Begin(uint32_t offset=0)
T *Begin(uint32_t offset=0)
{
if(access)
{
@ -526,7 +526,7 @@ namespace hgl
{
if(!vad)return(nullptr);
if(vad->GetVulkanFormat()!=VMFKT)
if(vad->GetVulkanFormat()!=VKFMT)
return(nullptr);
return(new VertexAttribDataAccess3<T,VKFMT>(vad->GetCount(),(T *)vad->GetData()));
@ -798,7 +798,7 @@ namespace hgl
{
if(!vad)return(nullptr);
if(vad->GetVulkanFormat()!=VMFMT)
if(vad->GetVulkanFormat()!=VKFMT)
return(nullptr);
return(new VertexAttribDataAccess4<T,VKFMT>(vad->GetCount(),(T *)vad->GetData()));