Skip to content

Commit

Permalink
noggit: model: fix compilation for non bindless builds (from f307a64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adspartan committed Dec 28, 2024
1 parent b1c9626 commit fc5a4de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/noggit/Model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,8 @@ ModelRenderPass::ModelRenderPass(ModelTexUnit const& tex_unit, Model* m)
}

bool ModelRenderPass::prepare_draw( opengl::scoped::use_program&, Model *m, bool animate, int index
, noggit::texture_array_handler&, opengl_model_state_changer& ogl_state
, [[maybe_unused]] noggit::texture_array_handler& texture_handler
, opengl_model_state_changer& ogl_state
)
{
if (!render)
Expand Down

0 comments on commit fc5a4de

Please sign in to comment.