diff options
author | Chia-I Wu <[email protected]> | 2010-01-18 17:12:50 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-18 17:15:57 +0800 |
commit | 064eb0a095b1ac56e20459c216c9271bef01cb9f (patch) | |
tree | e019858e41a493b4295aa1b9ecd2ebe5977eb52f /src/gallium | |
parent | a16d353b5ea0e14887a2cd2db222beb357b37d65 (diff) |
st/egl_g3d: Clean up for x11_drawable_get_depth.
Fix a wrong comment and remove an unnecessary #include.
Diffstat (limited to 'src/gallium')
-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 { |