Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cochrane committed May 5, 2024
1 parent 00ab769 commit d2950b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GLLara/GLLItemMeshState.swift
Expand Up @@ -345,7 +345,7 @@ class GLLItemMeshState {

/// TODO Ugly
let textures = loadedTextures.map { $0.texture }
commandEncoder.useResources(textures, usage: .read)
commandEncoder.useResources(textures, usage: .read, stages: [.fragment])

commandEncoder.setRenderPipelineState(pipelineStateInformation.pipelineState)
commandEncoder.setFragmentBuffer(fragmentArgumentBuffer, offset: 0, index: Int(GLLFragmentBufferIndexArguments.rawValue))
Expand Down

0 comments on commit d2950b4

Please sign in to comment.