Skip to content

Commit

Permalink
Update SodiumGameOptionPages.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbianxiao authored Sep 17, 2024
1 parent 007b5e9 commit b53943a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public static OptionPage advanced() {
.setName(Text.translatable("sodium.options.use_persistent_mapping.name"))
.setTooltip(Text.translatable("sodium.options.use_persistent_mapping.tooltip"))
.setControl(TickBoxControl::new)
.setImpact(OptionImpact.MEDIUM)

.setEnabled(MappedStagingBuffer.isSupported(RenderDevice.INSTANCE))
.setBinding((opts, value) -> opts.advanced.useAdvancedStagingBuffers = value, opts -> opts.advanced.useAdvancedStagingBuffers)
.setFlags(OptionFlag.REQUIRES_RENDERER_RELOAD)
Expand Down

0 comments on commit b53943a

Please sign in to comment.