Skip to content

Commit

Permalink
Continued cleaning up rend_main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Jan 26, 2009
1 parent 06afb58 commit f3d95cd
Show file tree
Hide file tree
Showing 2 changed files with 388 additions and 287 deletions.
6 changes: 6 additions & 0 deletions doomsday/engine/portable/src/rend_list.c
Expand Up @@ -287,11 +287,17 @@ if((error = glGetError()) != GL_NO_ERROR)

static void rlBind2(const rendlist_texmapunit_t* tmu)
{
if(!tmu->tex)
return;

rlBind(tmu->tex, tmu->magMode);
}

static void rlBindTo(int unit, const rendlist_texmapunit_t* tmu)
{
if(!tmu->tex)
return;

GL_ActiveTexture(GL_TEXTURE0 + (byte) unit);
rlBind(tmu->tex, tmu->magMode);
}
Expand Down

0 comments on commit f3d95cd

Please sign in to comment.