wined3d: Complain about users disabling GLSL.
This commit is contained in:
parent
2256a7e804
commit
64f71fda6d
|
@ -28,6 +28,7 @@
|
|||
#include "wined3d_private.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(d3d);
|
||||
WINE_DECLARE_DEBUG_CHANNEL(winediag);
|
||||
|
||||
struct wined3d_wndproc
|
||||
{
|
||||
|
@ -238,6 +239,7 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
|
|||
{
|
||||
if (!strcmp(buffer,"disabled"))
|
||||
{
|
||||
ERR_(winediag)("The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.\n");
|
||||
TRACE("Use of GL Shading Language disabled\n");
|
||||
wined3d_settings.glslRequested = FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue