Kaydet (Commit) 12a1179b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-private-field

Change-Id: I03d8f81b17341e128c9c0517ecca2a76f7b4552c
üst ac7e26e3
......@@ -540,7 +540,6 @@ namespace oglcanvas
class BufferContextImpl : public IBufferContext
{
::basegfx::B2IVector maSize;
const SpriteDeviceHelper& mrDeviceHelper;
GLuint mnFrambufferId;
GLuint mnDepthId;
GLuint mnTextureId;
......@@ -563,10 +562,8 @@ namespace oglcanvas
}
public:
BufferContextImpl(const SpriteDeviceHelper& rDeviceHelper,
const ::basegfx::B2IVector& rSize) :
BufferContextImpl(const ::basegfx::B2IVector& rSize) :
maSize(rSize),
mrDeviceHelper(rDeviceHelper),
mnFrambufferId(0),
mnDepthId(0),
mnTextureId(0)
......@@ -586,7 +583,7 @@ namespace oglcanvas
IBufferContextSharedPtr SpriteDeviceHelper::createBufferContext(const ::basegfx::B2IVector& rSize) const
{
return IBufferContextSharedPtr(new BufferContextImpl(*this, rSize));
return IBufferContextSharedPtr(new BufferContextImpl(rSize));
}
TextureCache& SpriteDeviceHelper::getTextureCache() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment