Fixed 69 occurance of 'Seperate' misspelling (should be 'Separate')

This commit is contained in:
Don BURNS
2002-08-29 03:22:27 +00:00
parent b546c63139
commit 2b10b4c3df
17 changed files with 69 additions and 69 deletions

View File

@@ -27,8 +27,8 @@ LightModel::~LightModel()
#define GL_SINGLE_COLOR 0x81F9
#endif
#ifndef GL_SEPERATE_SPECULAR_COLOR
#define GL_SEPERATE_SPECULAR_COLOR 0x81FA
#ifndef GL_SEPARATE_SPECULAR_COLOR
#define GL_SEPARATE_SPECULAR_COLOR 0x81FA
#endif
@@ -36,12 +36,12 @@ void LightModel::apply(State&) const
{
glLightModelfv(GL_LIGHT_MODEL_AMBIENT,_ambient.ptr());
static bool s_seperateSpecularSupported = strcmp((const char *)glGetString(GL_VERSION),"1.2")>=0;
if (s_seperateSpecularSupported)
static bool s_separateSpecularSupported = strcmp((const char *)glGetString(GL_VERSION),"1.2")>=0;
if (s_separateSpecularSupported)
{
if (_colorControl==SEPERATE_SPECULAR_COLOR)
if (_colorControl==SEPARATE_SPECULAR_COLOR)
{
glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL,GL_SEPERATE_SPECULAR_COLOR);
glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL,GL_SEPARATE_SPECULAR_COLOR);
}
else
{