Skip to content

Commit

Permalink
[Tests] Fix error in null texture int test
Browse files Browse the repository at this point in the history
  • Loading branch information
hyazinthh committed Apr 24, 2024
1 parent e7ed442 commit f00dd7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tests/Aardvark.Rendering.Tests/Tests/Texture/Upload.fs
Original file line number Diff line number Diff line change
Expand Up @@ -767,8 +767,8 @@ module TextureUpload =
do! diffuseTexture
}

use randomTexture = runtime.CreateTexture2D(V2i(8, 8), TextureFormat.Rgba8ui)
randomTexture.Upload(PixImage.random8ui <| V2i(8, 8))
use randomTexture = runtime.CreateTexture2D(V2i(8, 8), TextureFormat.Rgba8i)
randomTexture.Upload(PixImage.random8i <| V2i(8, 8))

runtime |> renderQuadWithNullTexture shader randomTexture

Expand Down

0 comments on commit f00dd7b

Please sign in to comment.