Changed: Minor changes

--HG--
branch : develop
hg/feature/cef3
kervala 10 years ago
parent 2869d5f1ac
commit 99c88bd515

@ -453,7 +453,6 @@ bool CDriverGL::setupEXTVertexShader(const CVPParser::TProgram &program, GLuint
// clear last error
GLenum glError = glGetError();
//variants[EVSSecondaryColorVariant] = nglGenSymbolsEXT(GL_VECTOR_EXT, GL_VARIANT_EXT, GL_NORMALIZED_RANGE_EXT, 1);
//variants[EVSSecondaryColorVariant] = nglGenSymbolsEXT(GL_VECTOR_EXT, GL_VARIANT_EXT, GL_NORMALIZED_RANGE_EXT, 1);
// allocate the symbols

@ -627,8 +627,8 @@ bool CDriverGL::setDisplay(nlWindow wnd, const GfxMode &mode, bool show, bool re
// Offscreen mode ?
if (_CurrentMode.OffScreen)
{
if (!createWindow(mode))
return false;
if (!createWindow(mode)) return false;
HWND tmpHWND = _win;
int width = mode.Width;
int height = mode.Height;

@ -56,8 +56,6 @@ namespace R2
// The ligo config
NLLIGO::CLigoConfig* LigoConfigPtr;
CR2LigoConfig R2LigoConfig;
}

@ -279,7 +279,6 @@ struct CCreatureTakenDamage
{
if ( PlayerInflictedDamage[i].TotalDamage > maxDmg )
{
nlinfo("set damage by player");
maxDmg = PlayerInflictedDamage[i].TotalDamage;
index = (sint16)i;
}

Loading…
Cancel
Save