mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 12:09:06 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
c64a89a268
commit
c6647ffd66
1 changed files with 6 additions and 7 deletions
|
@ -43,7 +43,8 @@ namespace NLDRIVERGL {
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
CVertexProgamDrvInfosGL::CVertexProgamDrvInfosGL (CDriverGL *drv, ItVtxPrgDrvInfoPtrList it) : IVertexProgramDrvInfos (drv, it)
|
CVertexProgamDrvInfosGL::CVertexProgamDrvInfosGL (CDriverGL *drv, ItVtxPrgDrvInfoPtrList it) : IVertexProgramDrvInfos (drv, it)
|
||||||
{
|
{
|
||||||
H_AUTO_OGL(CVertexProgamDrvInfosGL_CVertexProgamDrvInfosGL)
|
H_AUTO_OGL(CVertexProgamDrvInfosGL_CVertexProgamDrvInfosGL);
|
||||||
|
|
||||||
// Extension must exist
|
// Extension must exist
|
||||||
nlassert (drv->_Extensions.NVVertexProgram
|
nlassert (drv->_Extensions.NVVertexProgram
|
||||||
|| drv->_Extensions.EXTVertexShader
|
|| drv->_Extensions.EXTVertexShader
|
||||||
|
@ -87,7 +88,7 @@ bool CDriverGL::isVertexProgramEmulated () const
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
bool CDriverGL::activeNVVertexProgram (CVertexProgram *program)
|
bool CDriverGL::activeNVVertexProgram (CVertexProgram *program)
|
||||||
{
|
{
|
||||||
H_AUTO_OGL(CVertexProgamDrvInfosGL_activeNVVertexProgram)
|
H_AUTO_OGL(CVertexProgamDrvInfosGL_activeNVVertexProgram);
|
||||||
|
|
||||||
#ifndef USE_OPENGLES
|
#ifndef USE_OPENGLES
|
||||||
// Setup or unsetup ?
|
// Setup or unsetup ?
|
||||||
|
@ -209,7 +210,8 @@ bool CDriverGL::activeNVVertexProgram (CVertexProgram *program)
|
||||||
static
|
static
|
||||||
inline GLenum convSwizzleToGLFormat(CVPSwizzle::EComp comp, bool negate)
|
inline GLenum convSwizzleToGLFormat(CVPSwizzle::EComp comp, bool negate)
|
||||||
{
|
{
|
||||||
H_AUTO_OGL(convSwizzleToGLFormat)
|
H_AUTO_OGL(convSwizzleToGLFormat);
|
||||||
|
|
||||||
if (!negate)
|
if (!negate)
|
||||||
{
|
{
|
||||||
switch(comp)
|
switch(comp)
|
||||||
|
@ -1348,12 +1350,10 @@ static void ARBVertexProgramDumpInstr(const CVPInstruction &instr, std::string &
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
bool CDriverGL::setupARBVertexProgram (const CVPParser::TProgram &inParsedProgram, GLuint id, bool &specularWritten)
|
bool CDriverGL::setupARBVertexProgram (const CVPParser::TProgram &inParsedProgram, GLuint id, bool &specularWritten)
|
||||||
{
|
{
|
||||||
H_AUTO_OGL(CDriverGL_setupARBVertexProgram)
|
H_AUTO_OGL(CDriverGL_setupARBVertexProgram);
|
||||||
|
|
||||||
#ifndef USE_OPENGLES
|
#ifndef USE_OPENGLES
|
||||||
// tmp
|
// tmp
|
||||||
|
@ -1571,7 +1571,6 @@ bool CDriverGL::activeARBVertexProgram (CVertexProgram *program)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
bool CDriverGL::activeEXTVertexShader (CVertexProgram *program)
|
bool CDriverGL::activeEXTVertexShader (CVertexProgram *program)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue