浏览代码

st/egl_g3d: Clean up for x11_drawable_get_depth.

Fix a wrong comment and remove an unnecessary #include.
tags/7.8-rc1
Chia-I Wu 15 年前
父节点
当前提交
064eb0a095

+ 1
- 1
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;
};

+ 0
- 1
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 {

正在加载...
取消
保存