0024348: TKOpenGl - the same GLSL program can not be re-assigned
[occt.git] / src / OpenGl / OpenGl_AspectFace.hxx
index 18b640f..b511d55 100644 (file)
@@ -249,8 +249,8 @@ protected:
     Standard_Boolean IsShaderReady () const { return myIsShaderReady;  }
     void SetTextureReady() { myIsTextureReady = Standard_True; }
     void SetShaderReady () { myIsShaderReady  = Standard_True; }
-    void ResetTexture() { myIsTextureReady = Standard_False; }
-    void ResetShader () { myIsShaderReady  = Standard_False; }
+    void ResetTextureReadiness() { myIsTextureReady = Standard_False; }
+    void ResetShaderReadiness () { myIsShaderReady  = Standard_False; }
 
     void BuildTexture (const Handle(OpenGl_Workspace)& theWS, const Handle(Graphic3d_TextureMap)& theTexture);
     void BuildShader  (const Handle(OpenGl_Workspace)& theWS, const Handle(Graphic3d_ShaderProgram)& theShader);