XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

Rgba64 or Color ???

Last post 19/11/2007 10.42 by Nick Gravelyn. 1 replies.
  • 19/11/2007 5.44

    Rgba64 or Color ???


    I get an Excecption from this action when I run my program:

    rtGradient = new RenderTarget2D(graphics.GraphicsDevice, image.Width,
    mage.Height, 1, SurfaceFormat.Rgba64);


    But when I use:

    rtGradient = new RenderTarget2D(graphics.GraphicsDevice, image.Width,
    mage.Height, 1, SurfaceFormat.Color);


    everything is allright. Is this because my graphic card is to old to support Rgba64 or can I fix it in some other way?

    regards from Tomas
  • 19/11/2007 10.42 In reply to

    Re: Rgba64 or Color ???

    It's likely your card doesn't support the Rgba64 format. Color on the other hand is a fairly common format that more cards support. I always recommend just using Color unless you have a very good reason not to since it has a much higher compatibility than some of the other formats.
Page 1 of 1 (2 items) Previous Next