From 2e5a10608394186fd1324c97b17d7f08e0c0aaf6 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 30 Jan 2014 17:57:27 +0100 Subject: Get rid of getStride() It was confusing and not properly used everywhere. Callers should use the stride they get when they get the buffer pointer. --- vncviewer/X11PixelBuffer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'vncviewer/X11PixelBuffer.h') diff --git a/vncviewer/X11PixelBuffer.h b/vncviewer/X11PixelBuffer.h index 6d54165f..c2ffdc28 100644 --- a/vncviewer/X11PixelBuffer.h +++ b/vncviewer/X11PixelBuffer.h @@ -33,8 +33,6 @@ public: virtual void draw(int src_x, int src_y, int x, int y, int w, int h); - int getStride() const; - protected: int setupShm(); -- cgit v1.2.3