Module: wine Branch: master Commit: 64f71fda6d3f3ec1dddf4cbeecaeaad63b3c893e URL: http://source.winehq.org/git/wine.git/?a=commit;h=64f71fda6d3f3ec1dddf4cbeec...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Jul 28 22:27:55 2011 +0200
wined3d: Complain about users disabling GLSL.
---
dlls/wined3d/wined3d_main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c index 5976c83..7a0d4b6 100644 --- a/dlls/wined3d/wined3d_main.c +++ b/dlls/wined3d/wined3d_main.c @@ -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; }