[1/2] wined3d: Support clipplanes with GLSL shaders

Henri Verbeet hverbeet at gmail.com
Sat Aug 23 16:47:09 CDT 2008


> @@ -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.



More information about the wine-devel mailing list