Performs texture uploads via DeviceCommandContext interface.

Tested By: Langbart, Stan
Differential Revision: https://code.wildfiregames.com/D4415
This was SVN commit r26170.
This commit is contained in:
vladislavbelov
2022-01-05 14:49:54 +00:00
parent 07c0d95467
commit fd976456d7
22 changed files with 435 additions and 217 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ void SkyManager::LoadSkyTextures()
Renderer::Backend::Format::R8G8B8A8, textures[0].m_Width, textures[0].m_Height,
Renderer::Backend::Sampler::MakeDefaultSampler(
Renderer::Backend::Sampler::Filter::LINEAR,
Renderer::Backend::Sampler::AddressMode::CLAMP_TO_EDGE), 1);
Renderer::Backend::Sampler::AddressMode::CLAMP_TO_EDGE), 1, 1);
glBindTexture(GL_TEXTURE_CUBE_MAP, m_SkyCubeMap->GetHandle());