Revision 93e236bc
Added by danij almost 13 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- engine
- api
- portable
- include
- bitmapfont.h (diff)
- con_busy.h (diff)
- gl_draw.h (diff)
- gl_main.h (diff)
- gl_texmanager.h (diff)
- materialvariant.h (diff)
- r_draw.h (diff)
- sys_system.h (diff)
- src
- bitmapfont.c (diff)
- con_busy.c (diff)
- dgl_common.c (diff)
- dgl_draw.c (diff)
- fonts.c (diff)
- gl_draw.c (diff)
- gl_main.c (diff)
- gl_texmanager.c (diff)
- materials.c (diff)
- p_bmap.c (diff)
- r_draw.c (diff)
- rend_console.c (diff)
- rend_font.c (diff)
- rend_list.c (diff)
- rend_main.c (diff)
- rend_model.c (diff)
- rend_particle.c (diff)
- rend_sky.c (diff)
- rend_sprite.c (diff)
- sys_system.c (diff)
- ui2_main.c (diff)
- ui_main.c (diff)
- include
- plugins
- engine
Fixed: Further mismanagement of GL texture state
Calling glBindTexture() outside the scope of the GL texture manager
is now forbidden. There are now two routines for binding a texture to
the currently active texture unit:
a) GL_BindTexture() - used with TextureVariant instances
b) GL_BindTextureUnmanaged() - used with "unmanaged" texture names
Calling GL_BindTextureUnmanaged() with the GL name of a managed
texture is now considered to be an error (note there is no mechanism
in place to prevent or detect this).
Todo: Refactor the remaining users of the unmanaged logic branches
to use managed textures instead.