mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
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:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user