Removes binding native GLuint textures from public ShaderProgram API.

Differential Revision: https://code.wildfiregames.com/D4407
This was SVN commit r26143.
This commit is contained in:
vladislavbelov
2021-12-30 16:37:51 +00:00
parent e4455a8e8f
commit abc3190c03
17 changed files with 81 additions and 63 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ void SkyManager::RenderSky()
g_Renderer.GetShaderManager().LoadEffect(str_sky_simple);
skytech->BeginPass();
CShaderProgramPtr shader = skytech->GetShader();
shader->BindTexture(str_baseTex, m_SkyCubeMap->GetHandle());
shader->BindTexture(str_baseTex, m_SkyCubeMap.get());
// Translate so the sky center is at the camera space origin.
CMatrix3D translate;