依旧老样子怎么办....
WIN7旗舰版。在WINXP正常但是WIN7就无法调整窗口..
---------------------------
错误
---------------------------
System.ArgumentException: Device does not support multi-level texture width and height values that are not powers of 2.
参数名: numberLevels
在 Microsoft.Xna.Framework.Graphics.Texture2D.ValidateSizeParamsAgainstCaps(Int32 width, Int32 height, _D3DCAPS9 caps, Int32 numberLevels, String widthParamName, String heightParamName)
在 Microsoft.Xna.Framework.Graphics.Texture2D.CreateTexture(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Int32 numberLevels, UInt32 usage, _D3DPOOL pool, SurfaceFormat format)
在 Microsoft.Xna.Framework.Graphics.ResolveTexture2D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Int32 numberLevels, SurfaceFormat format)
在 #=qX_lSdYY1HyOElN$FguiWsg==.Draw(GameTime #=qPYxCgGQ732xqqpqQR_mCRg==)
在 Microsoft.Xna.Framework.Game.DrawFrame()
在 Microsoft.Xna.Framework.Game.Tick()
在 Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
在 Microsoft.Xna.Framework.GameHost.OnIdle()
在 Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
在 System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.Run(Form mainForm)
在 Microsoft.Xna.Framework.WindowsGameHost.Run()
在 Microsoft.Xna.Framework.Game.Run()
在
#=qYGF2XUADBjBEAMVqRlrIXA==.#=qiTbsbKecvvG4Si6U9edAkw==(String[] #=qIIEYJH4Oksp7kHDU4fM30Q==)
---------------------------
确定
---------------------------