Karl Zylinski hai 6 meses
pai
achega
c4202176ba
Modificáronse 2 ficheiros con 5 adicións e 2 borrados
  1. 0 2
      backend_d3d11.odin
  2. 5 0
      karl2d.odin

+ 0 - 2
backend_d3d11.odin

@@ -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 {

+ 5 - 0
karl2d.odin

@@ -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`.