tweakin
This commit is contained in:
parent
5a2229728a
commit
00c487f439
|
@ -480,10 +480,10 @@ impl CacaoWindow {
|
|||
|
||||
fn display(&mut self, buffer: Vec<[u8; 4]>) {
|
||||
if let Some(backend) = self.backend.as_mut() {
|
||||
backend.new_frame(&buffer).some_or_print();
|
||||
backend
|
||||
.render(self.resolutions, &self.backend_manager)
|
||||
.some_or_print();
|
||||
backend.new_frame(&buffer).some_or_print();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -96,6 +96,7 @@ impl RendererBackend for WgpuBackend {
|
|||
None,
|
||||
))?;
|
||||
let (device, queue) = (Arc::new(device), Arc::new(queue));
|
||||
|
||||
let capabilities = surface.get_capabilities(&adapter);
|
||||
let format = capabilities
|
||||
.formats
|
||||
|
@ -107,6 +108,8 @@ impl RendererBackend for WgpuBackend {
|
|||
.first()
|
||||
.ok_or(Self::RendererError::NoTextureFormat)?;
|
||||
|
||||
surface.configure(&device, &resolutions.get_config(format, alpha_mode));
|
||||
|
||||
let filter_chain = {
|
||||
let filter_chain_options = FilterChainOptions {
|
||||
force_no_mipmaps: false,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
cargo xtask bundle-universal twinc_emu_vst &&
|
||||
python scripts/mac/patch.py target/bundled/twinc_emu_vst.vst3 &&
|
||||
# python scripts/mac/patch.py target/bundled/twinc_emu_vst.vst3 &&
|
||||
rm -rf $VST3_DEV_INSTALL/twinc_emu_vst.vst3 &&
|
||||
cp -r target/bundled/twinc_emu_vst.vst3 $VST3_DEV_INSTALL/twinc_emu_vst.vst3 &&
|
||||
echo "Copied to $VST3_DEV_INSTALL/twinc_emu_vst.vst3"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
cargo xtask bundle-universal twinc_emu_vst --release &&
|
||||
python scripts/mac/patch.py target/bundled/twinc_emu_vst.vst3 &&
|
||||
# python scripts/mac/patch.py target/bundled/twinc_emu_vst.vst3 &&
|
||||
rm -rf $VST3_DEV_INSTALL/twinc_emu_vst.vst3 &&
|
||||
cp -r target/bundled/twinc_emu_vst.vst3 $VST3_DEV_INSTALL/twinc_emu_vst.vst3 &&
|
||||
echo "Copied to $VST3_DEV_INSTALL/twinc_emu_vst.vst3"
|
||||
|
|
Loading…
Reference in a new issue