0029528: Visualization, TKOpenGl - allow defining sRGB textures
[occt.git] / src / RWObj / RWObj_Material.hxx
index b47bea5..5d680ce 100644 (file)
@@ -32,9 +32,9 @@ struct RWObj_Material
   Standard_ShortReal      Transparency;
 
   RWObj_Material()
-  : AmbientColor (0.1, 0.1, 0.1, Quantity_TOC_RGB),
-    DiffuseColor (0.8, 0.8, 0.8, Quantity_TOC_RGB),
-    SpecularColor(0.2, 0.2, 0.2, Quantity_TOC_RGB),
+  : AmbientColor (0.1, 0.1, 0.1, Quantity_TOC_sRGB),
+    DiffuseColor (0.8, 0.8, 0.8, Quantity_TOC_sRGB),
+    SpecularColor(0.2, 0.2, 0.2, Quantity_TOC_sRGB),
     Shininess (1.0f),
     Transparency (0.0f) {}