diff options
Diffstat (limited to 'src/ral/ral_common.h')
-rw-r--r-- | src/ral/ral_common.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/ral/ral_common.h b/src/ral/ral_common.h index bc86945..fabf264 100644 --- a/src/ral/ral_common.h +++ b/src/ral/ral_common.h @@ -4,10 +4,11 @@ #include "ral_types.h" #include "ral_impl.h" -CORE_DEFINE_HANDLE(buffer_handle); -CORE_DEFINE_HANDLE(texture_handle); -CORE_DEFINE_HANDLE(sampler_handle); -CORE_DEFINE_HANDLE(shader_handle); +CORE_DEFINE_HANDLE(BufferHandle); +CORE_DEFINE_HANDLE(TextureHandle); +CORE_DEFINE_HANDLE(SamplerHandle); +CORE_DEFINE_HANDLE(ShaderHandle); + CORE_DEFINE_HANDLE(pipeline_layout_handle); CORE_DEFINE_HANDLE(pipeline_handle); CORE_DEFINE_HANDLE(renderpass_handle); @@ -18,7 +19,7 @@ CORE_DEFINE_HANDLE(renderpass_handle); #define MAX_PIPELINES 128 #define MAX_RENDERPASSES 128 -TYPED_POOL(gpu_buffer, buffer); +TYPED_POOL(GPU_Buffer, Buffer); TYPED_POOL(gpu_texture, texture); TYPED_POOL(gpu_pipeline_layout, pipeline_layout); TYPED_POOL(gpu_pipeline, pipeline); @@ -42,4 +43,4 @@ struct resource_pools { }; void resource_pools_init(arena* a, struct resource_pools* res_pools); -// vertex_description static_3d_vertex_description();
\ No newline at end of file +// vertex_description static_3d_vertex_description(); |