mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
8d627f9259
commit
1f0a4c141c
6 changed files with 7 additions and 6 deletions
|
@ -138,7 +138,7 @@ void CDriverGL::setLightInternal(uint8 num, const CLight& light)
|
|||
}
|
||||
else
|
||||
{
|
||||
// Deactivate spot properties
|
||||
// Disable spot properties
|
||||
#ifdef USE_OPENGLES
|
||||
glLightf (lightNum, GL_SPOT_CUTOFF, 180.f);
|
||||
glLightf (lightNum, GL_SPOT_EXPONENT, 0.f);
|
||||
|
|
|
@ -58,7 +58,7 @@ bool CNELU::initDriver (uint w, uint h, uint bpp, bool windowed, nlWindow syst
|
|||
CNELU::Driver = NULL;
|
||||
|
||||
// Init driver.
|
||||
#if defined(NL_OS_WINDOWS)
|
||||
#ifdef NL_OS_WINDOWS
|
||||
if (direct3d)
|
||||
{
|
||||
CNELU::Driver= CDRU::createD3DDriver();
|
||||
|
@ -75,6 +75,7 @@ bool CNELU::initDriver (uint w, uint h, uint bpp, bool windowed, nlWindow syst
|
|||
nlwarning ("CNELU::initDriver: no driver found");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!CNELU::Driver->init())
|
||||
{
|
||||
nlwarning ("CNELU::initDriver: init() failed");
|
||||
|
|
|
@ -179,7 +179,7 @@ static const CStringConversion<TKey>::CPair stringTable [] =
|
|||
{ "KeyNONAME", KeyNONAME },
|
||||
{ "KeyPA1", KeyPA1 },
|
||||
{ "KeyOEM_CLEAR", KeyOEM_CLEAR },
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
static CStringConversion<TKey> KeyConversion(stringTable, sizeof(stringTable) / sizeof(stringTable[0]), KeyCount);
|
||||
|
|
Loading…
Reference in a new issue