diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,5 +1,9 @@
 # Changelog for keid-dearimgui
 
+## 0.1.3.0
+
+- Update for dear-imgui-2.2.1.
+
 ## 0.1.2.1
 
 - Update for keid-core-0.1.8.0.
diff --git a/keid-ui-dearimgui.cabal b/keid-ui-dearimgui.cabal
--- a/keid-ui-dearimgui.cabal
+++ b/keid-ui-dearimgui.cabal
@@ -1,16 +1,16 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.35.1.
+-- This file has been generated from package.yaml by hpack version 0.36.0.
 --
 -- see: https://github.com/sol/hpack
 
 name:           keid-ui-dearimgui
-version:        0.1.2.1
+version:        0.1.3.0
 synopsis:       DearImGui elements for Keid engine.
 category:       Game Engine
 author:         IC Rainbow
 maintainer:     keid@aenor.ru
-copyright:      2023 IC Rainbow
+copyright:      2024 IC Rainbow
 license:        BSD3
 license-file:   LICENSE
 build-type:     Simple
@@ -32,59 +32,28 @@
   default-extensions:
       NoImplicitPrelude
       ApplicativeDo
-      BangPatterns
       BinaryLiterals
       BlockArguments
-      ConstrainedClassMethods
-      ConstraintKinds
       DataKinds
       DefaultSignatures
-      DeriveDataTypeable
-      DeriveFunctor
-      DeriveGeneric
-      DeriveLift
-      DeriveTraversable
       DerivingStrategies
       DerivingVia
       DuplicateRecordFields
-      EmptyCase
-      EmptyDataDeriving
-      ExistentialQuantification
-      ExplicitForAll
-      FlexibleContexts
-      FlexibleInstances
       FunctionalDependencies
-      GADTs
-      GeneralizedNewtypeDeriving
       HexFloatLiterals
       ImportQualifiedPost
-      InstanceSigs
-      KindSignatures
       LambdaCase
-      LiberalTypeSynonyms
-      MultiParamTypeClasses
       NamedFieldPuns
-      NamedWildCards
       NumDecimals
-      NumericUnderscores
+      OverloadedRecordDot
       OverloadedStrings
       PatternSynonyms
-      PostfixOperators
-      QuantifiedConstraints
       QuasiQuotes
-      RankNTypes
       RecordWildCards
-      ScopedTypeVariables
-      StandaloneDeriving
-      StandaloneKindSignatures
       StrictData
       TemplateHaskell
-      TupleSections
-      TypeApplications
       TypeFamilies
       TypeOperators
-      TypeSynonymInstances
-      UnicodeSyntax
       ViewPatterns
   ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
   build-depends:
@@ -93,7 +62,7 @@
     , base >=4.7 && <5
     , binary
     , bytestring
-    , dear-imgui >=1.3.0
+    , dear-imgui >=2.2.1
     , keid-core >=0.1.8.0
     , resourcet
     , rio >=0.1.12.0
@@ -102,4 +71,4 @@
     , vector
     , vulkan
     , vulkan-utils
-  default-language: Haskell2010
+  default-language: GHC2021
diff --git a/src/Render/ImGui.hs b/src/Render/ImGui.hs
--- a/src/Render/ImGui.hs
+++ b/src/Render/ImGui.hs
@@ -99,12 +99,14 @@
       , queueFamily    = queueFamily
       , queue          = queue
 
-      , minImageCount  = getMinImageCount swapchain
-      , imageCount     = getImageCount swapchain
-      , msaaSamples    = getMultisample swapchain
+      , minImageCount         = getMinImageCount swapchain
+      , imageCount            = getImageCount swapchain
+      , msaaSamples           = getMultisample swapchain
+      , colorAttachmentFormat = Just $ getSurfaceFormat swapchain
 
-      , subpass        = subpassIx
-      , pipelineCache  = Vk.NULL_HANDLE
+      , useDynamicRendering = False
+      , subpass             = subpassIx
+      , pipelineCache       = Vk.NULL_HANDLE
 
       , descriptorPool = pool
 
