diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-17 14:45:31 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-17 14:45:31 +1000 |
commit | f8641a5cc4c8baf1f0a7be3685afc219d90143d9 (patch) | |
tree | 6f6edf43f88b456933330ec83a203bf2f414bea4 /src/ral/ral_common.h | |
parent | b9315f9cb625db09c3c41d8adf5230a67510bef7 (diff) |
whole thing is compiling and running again
Diffstat (limited to 'src/ral/ral_common.h')
-rw-r--r-- | src/ral/ral_common.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/ral/ral_common.h b/src/ral/ral_common.h index 0f7c1b7..6a373ee 100644 --- a/src/ral/ral_common.h +++ b/src/ral/ral_common.h @@ -6,7 +6,13 @@ #include "buf.h" #include "mem.h" #include "ral_types.h" -#include "ral_impl.h" +// #include "ral_impl.h" + +// Concrete implementation +#if defined(CEL_REND_BACKEND_OPENGL) +#include "backend_opengl.h" +#endif + TYPED_POOL(GPU_Buffer, Buffer); TYPED_POOL(GPU_Texture, Texture); @@ -15,8 +21,8 @@ TYPED_POOL(GPU_Pipeline, Pipeline); TYPED_POOL(GPU_Renderpass, Renderpass); // --- Handy macros -#define BUFFER_GET(h) (buffer_pool_get(&context.resource_pools->buffers, h)) -#define TEXTURE_GET(h) (texture_pool_get(&context.resource_pools->textures, h)) +#define BUFFER_GET(h) (Buffer_pool_get(&context.resource_pools->buffers, h)) +#define TEXTURE_GET(h) (Texture_pool_get(&context.resource_pools->textures, h)) // --- Pools typedef struct GPU_BackendPools { |