提交 3add91aa 编写于 作者: J jp9000

the cleanup code I was going to add isn't necessary in this function, so just...

the cleanup code I was going to add isn't necessary in this function, so just make gl_platform_init function return false
上级 317f3655
......@@ -207,16 +207,13 @@ bool gl_platform_init(struct gs_device *device, struct gs_init_data *info)
memset(device->plat, 0, sizeof(struct gl_platform));
if (!gl_create_false_context(device->plat, info))
goto fail;
return false;
if (!gl_init_extensions())
goto fail;
return false;
if (!gl_init_pixel_format(device->plat, info))
goto fail;
return false;
return true;
fail:
return false;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册