@@ -221,8 +221,6 @@ shader_hlsl :: #load("shader.hlsl")
VERTEX_BUFFER_MAX :: 1000000
-Handle :: hm.Handle
-Texture_Handle :: distinct hm.Handle
TEXTURE_NONE :: Texture_Handle {}
Shader_Constant_Buffer :: struct {
@@ -13,10 +13,15 @@ import "core:image/bmp"
import "core:image/png"
import "core:image/tga"
+import hm "handle_map"
+
_ :: bmp
_ :: png
_ :: tga
+Handle :: hm.Handle
+Texture_Handle :: distinct Handle
// Opens a window and initializes some internal state. The internal state will use `allocator` for
// all dynamically allocated memory. The return value can be ignored unless you need to later call
// `set_state`.