From 4b2e9c3292183af03928a70715cf027bf838b3f4 Mon Sep 17 00:00:00 2001 From: Edgar Velazquez-Armendariz Date: Tue, 2 Oct 2012 12:54:18 -0400 Subject: [PATCH] Fix a compilation problem in spectral mode --- src/libhw/gputexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libhw/gputexture.cpp b/src/libhw/gputexture.cpp index 988d4b1a..1c6a97df 100644 --- a/src/libhw/gputexture.cpp +++ b/src/libhw/gputexture.cpp @@ -29,7 +29,7 @@ GPUTexture::GPUTexture(const std::string &name, Bitmap *bitmap) m_fbType = ENone; m_samples = 1; m_depthMode = ECompare; - m_borderColor = Spectrum(0.0f); + m_borderColor = Color3(static_cast(0)); m_size = Point3i(0); if (bitmap != NULL) {