summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-08 09:25:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-08 09:25:52 +0200
commit2f5f2c7d3c9a855682b95b428c35cbe3ca2b3fac (patch)
tree38a7cc2ec47023af209e070a9f292b42d5af0aa6 /canvas
parent8ddab349fe194e80c88f52f0c526f82b6ccc979e (diff)
-Werror,-Wunused-private-field
Change-Id: Ie8aaab5fb6042c4845cb5355db2ee1a1c66d9d92
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/opengl/ogl_spritedevicehelper.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx
index cb96f2e6cf94..f83f8a8b9f0e 100644
--- a/canvas/source/opengl/ogl_spritedevicehelper.cxx
+++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx
@@ -1162,7 +1162,9 @@ namespace oglcanvas
::basegfx::B2IVector maSize;
const SpriteDeviceHelper& mrDeviceHelper;
unx::GLXPbuffer mpPBuffer;
+#if 0
unx::Display* mpDisplay;
+#endif
unsigned int mnTexture;
virtual bool startBufferRendering()
@@ -1184,12 +1186,18 @@ namespace oglcanvas
public:
BufferContextImpl(const SpriteDeviceHelper& rDeviceHelper,
unx::GLXPbuffer pBuffer,
- unx::Display* pDisplay,
+ unx::Display*
+#if 0
+ pDisplay
+#endif
+ ,
const ::basegfx::B2IVector& rSize) :
maSize(rSize),
mrDeviceHelper(rDeviceHelper),
mpPBuffer(pBuffer),
+#if 0
mpDisplay(pDisplay),
+#endif
mnTexture(0)
{
glGenTextures( 1, &mnTexture );