[Glide64] Only add Texture config page when created
This commit is contained in:
parent
3618117b86
commit
9cfaede4eb
|
@ -859,8 +859,8 @@ void COptionsSheet::UpdateTextureSettings(void)
|
||||||
{
|
{
|
||||||
m_pgTextureEnhancement = new CConfigTextureEnhancement;
|
m_pgTextureEnhancement = new CConfigTextureEnhancement;
|
||||||
m_hTextureEnhancement = m_pgTextureEnhancement->Create();
|
m_hTextureEnhancement = m_pgTextureEnhancement->Create();
|
||||||
|
AddPage(m_hTextureEnhancement);
|
||||||
}
|
}
|
||||||
AddPage(m_hTextureEnhancement);
|
|
||||||
}
|
}
|
||||||
else if (m_hTextureEnhancement != NULL)
|
else if (m_hTextureEnhancement != NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue