From 064eb0a095b1ac56e20459c216c9271bef01cb9f Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 18 Jan 2010 17:12:50 +0800 Subject: [PATCH] st/egl_g3d: Clean up for x11_drawable_get_depth. Fix a wrong comment and remove an unnecessary #include. --- src/gallium/state_trackers/egl_g3d/x11/x11_screen.c | 2 +- src/gallium/state_trackers/egl_g3d/x11/x11_screen.h | 1 - 2 files changed, 1 insertion(+), 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 #include #include "pipe/p_compiler.h" -#include "pipe/p_format.h" #include "common/native.h" enum x11_screen_extension { -- 2.30.2