From 64f71fda6d3f3ec1dddf4cbeecaeaad63b3c893e Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 28 Jul 2011 22:27:55 +0200 Subject: [PATCH] wined3d: Complain about users disabling GLSL. --- dlls/wined3d/wined3d_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/wined3d/wined3d_main.c b/dlls/wined3d/wined3d_main.c index 5976c83ea10..7a0d4b6de98 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; }