diff options
Diffstat (limited to 'src/render/skybox.c')
-rw-r--r-- | src/render/skybox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/skybox.c b/src/render/skybox.c index b228c82..b4e1e42 100644 --- a/src/render/skybox.c +++ b/src/render/skybox.c @@ -154,7 +154,7 @@ void Skybox_Draw(Skybox* skybox, Camera camera) { GPU_EncodeSetVertexBuffer(enc, skybox->cube.vertex_buffer); GPU_EncodeSetIndexBuffer(enc, skybox->cube.index_buffer); - GPU_EncodeDraw(enc, 36); + GPU_EncodeDrawTris(enc, 36); GPU_CmdEncoder_EndRender(enc); glDepthFunc(GL_LESS); |