wined3d: Simply refuse to create shaders if they're disabled.
commite59fdb83a672b6efcede100d24d658f151b5b53c
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 28 Sep 2010 10:00:22 +0000 (28 12:00 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 28 Sep 2010 15:33:16 +0000 (28 17:33 +0200)
tree499c92f7d1d2387a0bd351fab5e8f8f943c0615c
parentd6d345fa8aee8f394e20ea2f9bbcd3645b999992
wined3d: Simply refuse to create shaders if they're disabled.

The functionality is a bit questionable in the first place, but there is some
use in the part that limits the maximum reported shader versions.
dlls/wined3d/device.c
dlls/wined3d/wined3d_private.h