From 01748aa3f53e6bf3fb9e11428d2547b1fa9d6aba Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 1 Aug 2010 10:02:01 +0200 Subject: [PATCH] Changed: #878 Fix typos in comments/code --- .../src/3d/driver/opengl/driver_opengl.cpp | 2 +- code/nel/src/3d/driver/opengl/driver_opengl.h | 24 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl.cpp b/code/nel/src/3d/driver/opengl/driver_opengl.cpp index ab6552980..72184e1aa 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl.cpp @@ -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) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl.h b/code/nel/src/3d/driver/opengl/driver_opengl.h index 5f68116fc..fb93adf33 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl.h +++ b/code/nel/src/3d/driver/opengl/driver_opengl.h @@ -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