simple-egl: Remove unused variable.
This commit is contained in:
committed by
Kristian Høgsberg
parent
07c91f8371
commit
1ee53e78db
@@ -61,7 +61,7 @@ struct geometry {
|
|||||||
|
|
||||||
struct window {
|
struct window {
|
||||||
struct display *display;
|
struct display *display;
|
||||||
struct geometry geometry, window_size, fullscreen_size;
|
struct geometry geometry, window_size;
|
||||||
struct {
|
struct {
|
||||||
GLuint fbo;
|
GLuint fbo;
|
||||||
GLuint color_rbo;
|
GLuint color_rbo;
|
||||||
@@ -236,9 +236,7 @@ handle_configure(void *data, struct wl_shell_surface *shell_surface,
|
|||||||
window->geometry.width = width;
|
window->geometry.width = width;
|
||||||
window->geometry.height = height;
|
window->geometry.height = height;
|
||||||
|
|
||||||
if (window->fullscreen)
|
if (!window->fullscreen)
|
||||||
window->fullscreen_size = window->geometry;
|
|
||||||
else
|
|
||||||
window->window_size = window->geometry;
|
window->window_size = window->geometry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user