> @@ -248,11 +248,12 @@ typedef struct { > void (*shader_generate_vshader)(IWineD3DVertexShader *iface, > SHADER_BUFFER *buffer); > void (*shader_get_caps)(WINED3DDEVTYPE devtype, WineD3D_GL_Info > *gl_info, struct shader_caps *caps); > BOOL (*shader_conv_supported)(WINED3DFORMAT conv); > + DWORD shader_supported_clipplanes; /* bitmask of supported clipplanes */ > } shader_backend_t; You shouldn't abuse the call table like that, you should store that flag in the private data instead.