private Exception CreateNoSuitableGraphicsDeviceException(string message, Exception innerException)
        {
            Exception exception = new NoSuitableGraphicsDeviceException(message, innerException);

            exception.Data.Add("MinimumPixelShaderProfile", this.minimumPixelShaderProfile);
            exception.Data.Add("MinimumVertexShaderProfile", this.minimumVertexShaderProfile);
            return(exception);
        }
Exemplo n.º 2
0
 private Exception CreateNoSuitableGraphicsDeviceException(string message, Exception innerException)
 {
     Exception exception = new NoSuitableGraphicsDeviceException(message, innerException);
     exception.Data.Add("MinimumPixelShaderProfile", this.minimumPixelShaderProfile);
     exception.Data.Add("MinimumVertexShaderProfile", this.minimumVertexShaderProfile);
     return exception;
 }