diff options
-rw-r--r-- | src/gallium/state_trackers/egl_g3d/x11/x11_screen.c | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/egl_g3d/x11/x11_screen.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl_g3d/x11/x11_screen.c b/src/gallium/state_trackers/egl_g3d/x11/x11_screen.c index bfff91db8ba..4d68a88d2e6 100644 --- a/src/gallium/state_trackers/egl_g3d/x11/x11_screen.c +++ b/src/gallium/state_trackers/egl_g3d/x11/x11_screen.c @@ -52,7 +52,7 @@ struct x11_screen { XVisualInfo *visuals; int num_visuals; - /* cached values for x11_drawable_get_format */ + /* cached values for x11_drawable_get_depth */ Drawable last_drawable; unsigned int last_depth; }; diff --git a/src/gallium/state_trackers/egl_g3d/x11/x11_screen.h b/src/gallium/state_trackers/egl_g3d/x11/x11_screen.h index ad42bffbe9c..bf482189053 100644 --- a/src/gallium/state_trackers/egl_g3d/x11/x11_screen.h +++ b/src/gallium/state_trackers/egl_g3d/x11/x11_screen.h @@ -29,7 +29,6 @@ #include <X11/Xutil.h> #include <X11/extensions/dri2tokens.h> #include "pipe/p_compiler.h" -#include "pipe/p_format.h" #include "common/native.h" enum x11_screen_extension { |