浏览代码

intel: Use _mesa_warning() to report GEM warnings

tags/mesa_7_5_1
Brian Paul 16 年前
父节点
当前提交
d2f56fe687
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      src/mesa/drivers/dri/intel/intel_screen.c

+ 3
- 3
src/mesa/drivers/dri/intel/intel_screen.c 查看文件

@@ -617,10 +617,10 @@ intel_init_bufmgr(intelScreenPrivate *intelScreen)
/* Otherwise, use the classic buffer manager. */
if (intelScreen->bufmgr == NULL) {
if (gem_disable) {
fprintf(stderr, "GEM disabled. Using classic.\n");
_mesa_warning(NULL, "GEM disabled. Using classic.");
} else {
fprintf(stderr, "Failed to initialize GEM. "
"Falling back to classic.\n");
_mesa_warning(NULL,
"Failed to initialize GEM. Falling back to classic.");
}

if (intelScreen->tex.size == 0) {

正在加载...
取消
保存