Commit 64f71fda authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Complain about users disabling GLSL.

parent 2256a7e8
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "wined3d_private.h" #include "wined3d_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d); WINE_DEFAULT_DEBUG_CHANNEL(d3d);
WINE_DECLARE_DEBUG_CHANNEL(winediag);
struct wined3d_wndproc struct wined3d_wndproc
{ {
...@@ -238,6 +239,7 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL) ...@@ -238,6 +239,7 @@ static BOOL wined3d_dll_init(HINSTANCE hInstDLL)
{ {
if (!strcmp(buffer,"disabled")) 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"); TRACE("Use of GL Shading Language disabled\n");
wined3d_settings.glslRequested = FALSE; wined3d_settings.glslRequested = FALSE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment