deleted not needed params at GPUDevice::CommitTexture2D that they are width and height.

This commit is contained in:
2022-01-07 12:05:52 +08:00
parent a28d857b96
commit b064a4de5f
2 changed files with 10 additions and 10 deletions

View File

@@ -156,7 +156,7 @@ public: //Image
private: //texture
bool CommitTexture2D (Texture2D *,GPUBuffer *buf,uint32_t width,uint32_t height,VkPipelineStageFlags stage);
bool CommitTexture2D (Texture2D *,GPUBuffer *buf,VkPipelineStageFlags stage);
bool CommitTexture2DMipmaps (Texture2D *,GPUBuffer *buf,uint32_t width,uint32_t height,uint32_t);
bool CommitTexture2D (Texture2D *,GPUBuffer *buf,const VkBufferImageCopy *,const int count,VkPipelineStageFlags=VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT);