Skip to content

Commit

Permalink
m128: missing skia.skgpu namespace initialization itself
Browse files Browse the repository at this point in the history
  • Loading branch information
HinTak committed Jul 27, 2024
1 parent e957098 commit e4631f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/skia/GrContext_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ py::class_<skgpu::VulkanBackendContext>(m, "GrVkBackendContext",
// TODO: Implement me!
;

py::object SimpleNamespace = py::module_::import("types").attr("SimpleNamespace");
m.attr("skgpu") = SimpleNamespace();
m.attr("skgpu").attr("VulkanBackendContext") = m.attr("GrVkBackendContext");
m.attr("skgpu").attr("VulkanAlloc") = m.attr("GrVkAlloc");
m.attr("skgpu").attr("VulkanYcbcrConversionInfo") = m.attr("GrVkYcbcrConversionInfo");
Expand Down

0 comments on commit e4631f9

Please sign in to comment.