mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 13:38:05 +02:00
simple-egl: Remove unused variable.
This commit is contained in:
parent
07c91f8371
commit
1ee53e78db
1 changed files with 2 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue