fix

Junkui Zhang created

Change summary

crates/gpui/src/platform/windows/directx_renderer.rs | 4 ++--
crates/zed/Cargo.toml                                | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)

Detailed changes

crates/gpui/src/platform/windows/directx_renderer.rs 🔗

@@ -2,8 +2,6 @@ use std::{mem::ManuallyDrop, sync::Arc};
 
 use ::util::ResultExt;
 use anyhow::{Context, Result};
-#[cfg(not(feature = "enable-renderdoc"))]
-use windows::Win32::Graphics::DirectComposition::*;
 use windows::Win32::{
     Foundation::{HMODULE, HWND},
     Graphics::{
@@ -12,6 +10,8 @@ use windows::Win32::{
         Dxgi::{Common::*, *},
     },
 };
+#[cfg(not(feature = "enable-renderdoc"))]
+use windows::{Win32::Graphics::DirectComposition::*, core::Interface};
 
 use crate::*;
 

crates/zed/Cargo.toml 🔗

@@ -70,7 +70,6 @@ gpui = { workspace = true, features = [
     "x11",
     "font-kit",
     "windows-manifest",
-    "enable-renderdoc",
 ] }
 gpui_tokio.workspace = true