huangfeing 发表于 2011-1-29 19:47

运行时报了这个错,有办法解决么???

RenderThread
System.ArgumentException: Texture width or height is larger than the device supports.
参数名: width
   在 Microsoft.Xna.Framework.Graphics.Texture3D.CreateTexture(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Int32 depth, Int32 numberLevels, TextureUsage usage, SurfaceFormat format)
   在 Microsoft.Xna.Framework.Graphics.Texture3D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Int32 depth, Int32 numberLevels, TextureUsage usage, SurfaceFormat format)
   在 Microsoft.Xna.Framework.Content.Texture3DReader.Read(ContentReader input, Texture3D existingInstance)
   在 Microsoft.Xna.Framework.Content.ContentReader.InvokeReader(ContentTypeReader reader, Object existingInstance)
   在 Microsoft.Xna.Framework.Content.ContentReader.ReadObjectInternal(Object existingInstance)
   在 Microsoft.Xna.Framework.Content.ContentReader.ReadObject()
   在 Microsoft.Xna.Framework.Content.ContentReader.ReadAsset()
   在 Microsoft.Xna.Framework.Content.ContentManager.ReadAsset(String assetName, Action`1 recordDisposableObject)
   在 Microsoft.Xna.Framework.Content.ContentManager.Load(String assetName)
   在 Magicka.Game.LoadContent()
   在 Microsoft.Xna.Framework.Game.Initialize()
   在 Magicka.Game.Initialize()
   在 Microsoft.Xna.Framework.Game.Run()
   在 Magicka.Program.Main(String[] args)

分辨率已经调到最高了1280*1024 {:3_166:}

风灵月影 发表于 2011-1-29 20:55

没装XNA3.1还是.NET 3.5?
页: [1]
查看完整版本: 运行时报了这个错,有办法解决么???