summaryrefslogtreecommitdiffstats
path: root/client/display_channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/display_channel.cpp')
-rw-r--r--client/display_channel.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/client/display_channel.cpp b/client/display_channel.cpp
index 94bfe6b5..2950c30d 100644
--- a/client/display_channel.cpp
+++ b/client/display_channel.cpp
@@ -1437,9 +1437,6 @@ void DisplayChannel::create_primary_surface(int width, int height, uint32_t form
void DisplayChannel::create_surface(int surface_id, int width, int height, uint32_t format)
{
-#ifdef USE_OGL
- Canvas *canvas;
-#endif
AutoRef<CreateSurfaceEvent> event(new CreateSurfaceEvent(*this, surface_id, width, height,
format));
get_client().push_event(*event);