renderer: extract the size structs to a shared file

This commit is contained in:
Mitchell Hashimoto
2022-10-24 09:27:09 -07:00
parent aa3d132947
commit ce384c2356
3 changed files with 105 additions and 71 deletions

View File

@@ -7,6 +7,7 @@
//! APIs. The renderers in this package assume that the renderer is already
//! setup (OpenGL has a context, Vulkan has a surface, etc.)
pub usingnamespace @import("renderer/size.zig");
pub const OpenGL = @import("renderer/OpenGL.zig");
pub const Thread = @import("renderer/Thread.zig");
pub const State = @import("renderer/State.zig");