Added FIXME comments

Former-commit-id: a26466fef726879d1e73f09aa1448711ffdcc0b0
This commit is contained in:
Lynix 2013-02-15 13:40:58 +01:00
parent 43b5e493f6
commit f5cc6ba8fc
1 changed files with 2 additions and 0 deletions

View File

@ -1079,6 +1079,7 @@ bool NzRenderer::EnsureStateUpdate()
if (s_useSamplerObjects) if (s_useSamplerObjects)
{ {
///FIXME: Itère sur toutes les unités (Dont beaucoup inutilisées)
for (unsigned int i = 0; i < s_textureUnits.size(); ++i) for (unsigned int i = 0; i < s_textureUnits.size(); ++i)
{ {
TextureUnit& unit = s_textureUnits[i]; TextureUnit& unit = s_textureUnits[i];
@ -1105,6 +1106,7 @@ bool NzRenderer::EnsureStateUpdate()
} }
else else
{ {
///FIXME: Itère sur toutes les unités (Dont beaucoup inutilisées)
for (unsigned int i = 0; i < s_textureUnits.size(); ++i) for (unsigned int i = 0; i < s_textureUnits.size(); ++i)
{ {
TextureUnit& unit = s_textureUnits[i]; TextureUnit& unit = s_textureUnits[i];