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
5f6bf688d8
commit
bcebf28280
2 changed files with 13 additions and 13 deletions
|
@ -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…
Reference in a new issue