diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-18 16:17:23 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-18 16:17:23 +1000 |
commit | 7ec62c58e9560fc961ec3522490e40ad1d259c72 (patch) | |
tree | e7d6c9bb9efc9871fe2a4bc7e5f51a02f7d901ef /src/new_render/pbr.c | |
parent | c43bee3ec89e0863b4195ca9298a007d3526a6d9 (diff) |
wip skybox. make geometry owned and copied onto Mesh
Diffstat (limited to 'src/new_render/pbr.c')
-rw-r--r-- | src/new_render/pbr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_render/pbr.c b/src/new_render/pbr.c index f793002..46c621f 100644 --- a/src/new_render/pbr.c +++ b/src/new_render/pbr.c @@ -111,7 +111,7 @@ void PBR_Execute(PBR_Storage* storage, Camera camera, TextureHandle shadowmap_te GPU_EncodeSetVertexBuffer(enc, renderable.mesh->vertex_buffer); GPU_EncodeSetIndexBuffer(enc, renderable.mesh->index_buffer); // draw - GPU_EncodeDrawIndexed(enc, renderable.mesh->geometry->indices->len); + GPU_EncodeDrawIndexed(enc, renderable.mesh->geometry.indices->len); } GPU_CmdEncoder_EndRender(enc); |