wined3d: Use GL_STATIC_DRAW_ARB for static buffers.
commit12a05be5b6a081c957619e0e751a56dc28d5b423
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 15 Apr 2013 06:14:51 +0000 (15 08:14 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 15 Apr 2013 13:16:11 +0000 (15 15:16 +0200)
tree7e488dab63fd691a2aa39d1f1489693eaf09f389
parentf91c0356e77aa0d7a1a010afe2534969110be891
wined3d: Use GL_STATIC_DRAW_ARB for static buffers.

This mostly affects the initial placement of the VBO. If an application really
does use a static buffer as if it was a dynamic one the driver is likely to
migrate it out of VRAM anyway, we shouldn't penalize more well-behaved
applications for that.
dlls/wined3d/buffer.c