Skip to content

Commit

Permalink
Avoid copying
Browse files Browse the repository at this point in the history
  • Loading branch information
wtholliday committed Oct 16, 2023
1 parent 715c140 commit 917a1c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/vger/vgerRenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN
/// @param texture texture to sample for textured prims
- (void) encodeTo:(id<MTLCommandBuffer>) buffer
pass:(MTLRenderPassDescriptor*) pass
scene:(vgerScene) scene
scene:(const vgerScene&) scene
count:(int)n
layer:(int)layer
textures:(NSArray<id<MTLTexture>>*)textures
Expand Down
2 changes: 1 addition & 1 deletion Sources/vger/vgerRenderer.mm
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ - (instancetype)initWithDevice:(id<MTLDevice>) device

- (void) encodeTo:(id<MTLCommandBuffer>) buffer
pass:(MTLRenderPassDescriptor*) pass
scene:(vgerScene) scene
scene:(const vgerScene&) scene
count:(int)n
layer:(int)layer
textures:(NSArray<id<MTLTexture>>*)textures
Expand Down

0 comments on commit 917a1c9

Please sign in to comment.