//强制D3D运行
kag.drawDevice.preferredDrawer=Window.PassThroughDrawDevice.dtDBD3D;
//强制更换绘图工具
kag.drawDevice.recreate();
//设置刷新帧率
function renew()
{
var a=kag.primaryLayer.mainImageBufferForWrite;
kag.primaryLayer.update(0,0,kag.primaryLayer.width,kag.primaryLayer.height);
}
//刷新帧率
System.addContinuousHandler(renew);
因为我的krkr不知道为什么 用krkrconf不能启用D3D绘图
所以在平时视打不开STEAM面板的
然后用这个强行打开了,面板也能用了
但是如果有格外弹窗(比如返回标题或者关闭游戏的询问窗口)的话,再次打开steam背板就会报EAccessViolation错误
只能用MyYesNoDialog插件不让它弹窗