wined3d: Don't create more than WINED3D_MAX_FBO_ENTRIES FBO entries.
commit0d446053da05567177da12371633336ed2add9d0
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 11 May 2009 14:43:49 +0000 (11 16:43 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 12 May 2009 09:18:15 +0000 (12 11:18 +0200)
tree48dc76af6d5d5e0fdfa098bbe2fcb956a246ecb5
parentcad271f13d08dddc72f3faa6e5f44ad45d6c7d81
wined3d: Don't create more than WINED3D_MAX_FBO_ENTRIES FBO entries.

This essentially turns the FBO entry list into an LRU cache.
dlls/wined3d/context.c
dlls/wined3d/wined3d_private.h