Changed: #878 Fix typos in comments/code

hg/feature/sound
kervala 15 years ago
parent 540e24b7b6
commit 01748aa3f5

@ -776,7 +776,7 @@ bool CDriverGL::swapBuffers()
//resetTextureShaders();
activeVertexProgram(NULL);
/* Yoyo: must do this (GeForce bug ??) esle weird results if end render with a VBHard.
/* Yoyo: must do this (GeForce bug ??) else weird results if end render with a VBHard.
Setup a std vertex buffer to ensure NVidia synchronisation.
*/
if (_Extensions.NVVertexArrayRange)

@ -360,16 +360,16 @@ public:
virtual void forceNativeFragmentPrograms(bool nativeOnly);
/// Setup texture env functions. Used by setupMaterial
void setTextureEnvFunction(uint stage, CMaterial& mat);
void setTextureEnvFunction(uint stage, CMaterial& mat);
/// setup the texture matrix for a given number of stages (starting from 0)
void setupUserTextureMatrix(uint numStages, CMaterial& mat);
void setupUserTextureMatrix(uint numStages, CMaterial& mat);
/// disable all texture matrix
void disableUserTextureMatrix();
void disableUserTextureMatrix();
/// For objects with caustics, setup the first texture (which actually is the one from the material)
/*static inline void setupCausticsFirstTex(const CMaterial &mat);
/*static inline void setupCausticsFirstTex(const CMaterial &mat);
/// For objects with caustics, setup the caustic texture itself
static inline void setupCausticsSecondTex(uint stage);*/
@ -575,23 +575,23 @@ public:
/// \name texture addressing modes
// @{
virtual bool supportTextureShaders() const;
virtual bool supportTextureShaders() const;
virtual bool isWaterShaderSupported() const;
virtual bool isWaterShaderSupported() const;
virtual bool isTextureAddrModeSupported(CMaterial::TTexAddressingMode mode) const;
virtual bool isTextureAddrModeSupported(CMaterial::TTexAddressingMode mode) const;
virtual void setMatrix2DForTextureOffsetAddrMode(const uint stage, const float mat[4]);
virtual void setMatrix2DForTextureOffsetAddrMode(const uint stage, const float mat[4]);
// @}
/// \name EMBM support
// @{
virtual bool supportEMBM() const;
virtual bool isEMBMSupportedAtStage(uint stage) const;
virtual void setEMBMMatrix(const uint stage, const float mat[4]);
virtual bool supportEMBM() const;
virtual bool isEMBMSupportedAtStage(uint stage) const;
virtual void setEMBMMatrix(const uint stage, const float mat[4]);
// @}
virtual bool supportPerPixelLighting(bool specular) const;
virtual bool supportPerPixelLighting(bool specular) const;
/// \name Misc

Loading…
Cancel
Save