summaryrefslogtreecommitdiff
path: root/clients/simple-egl.c
diff options
context:
space:
mode:
authorScott Moreau <oreaus@gmail.com>2012-08-30 14:44:15 -0600
committerKristian Høgsberg <krh@bitplanet.net>2012-08-31 19:40:09 -0400
commit1ee53e78db391a8a61423d3b738044efee614d93 (patch)
treecfb2208886a4943de294f7c999743979d5090140 /clients/simple-egl.c
parent07c91f8371aba6002a2211834f770bbb3c0abff3 (diff)
downloadweston-1ee53e78db391a8a61423d3b738044efee614d93.tar.gz
simple-egl: Remove unused variable.
Diffstat (limited to 'clients/simple-egl.c')
-rw-r--r--clients/simple-egl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/clients/simple-egl.c b/clients/simple-egl.c
index c52c82ca..5b77b9dd 100644
--- a/clients/simple-egl.c
+++ b/clients/simple-egl.c
@@ -61,7 +61,7 @@ struct geometry {
struct window {
struct display *display;
- struct geometry geometry, window_size, fullscreen_size;
+ struct geometry geometry, window_size;
struct {
GLuint fbo;
GLuint color_rbo;
@@ -236,9 +236,7 @@ handle_configure(void *data, struct wl_shell_surface *shell_surface,
window->geometry.width = width;
window->geometry.height = height;
- if (window->fullscreen)
- window->fullscreen_size = window->geometry;
- else
+ if (!window->fullscreen)
window->window_size = window->geometry;
}