Browse Source

remove fixme about generic interface function we just added

main
cinnaboot 4 years ago
parent
commit
a79c8f412b
  1. 1
      src/main.cpp

1
src/main.cpp

@ -154,7 +154,6 @@ render_cb_pre(RenderState* rs)
Entity* ent = &rg->entities[0]; Entity* ent = &rg->entities[0];
setEntityPosition(ent, glm::vec3(lb->pl_positions[0])); setEntityPosition(ent, glm::vec3(lb->pl_positions[0]));
// FIXME: we need an interface function to update lights
GLBuffer* lights_ubo = getUBOByName(rs->gl_ctx, "lights"); GLBuffer* lights_ubo = getUBOByName(rs->gl_ctx, "lights");
assert(lights_ubo); assert(lights_ubo);
updateGLBuffer(lights_ubo, lb->buffer); updateGLBuffer(lights_ubo, lb->buffer);

Loading…
Cancel
Save